Cow 类型是一种智能指针,提供了写时克隆功能:它可以封装并提供对借用数据的不可变 ... #![feature(cow_is_borrowed)] use std::borrow::Cow; let cow: Cow<'_, str> ...
確定! 回上一頁