Expand description
A Cow
without ToOwned
.
Variants
Trait Implementations
Auto Trait Implementations
impl<'a, T: ?Sized> RefUnwindSafe for BoxOrRef<'a, T>where
T: RefUnwindSafe,
impl<'a, T: ?Sized> Send for BoxOrRef<'a, T>where
T: Send + Sync,
impl<'a, T: ?Sized> Sync for BoxOrRef<'a, T>where
T: Sync,
impl<'a, T: ?Sized> Unpin for BoxOrRef<'a, T>
impl<'a, T: ?Sized> UnwindSafe for BoxOrRef<'a, T>where
T: UnwindSafe + RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<'a, T> Fmt for Twhere
T: Borrow<dyn Fmt + 'a>,
impl<'a, T> Fmt for Twhere
T: Borrow<dyn Fmt + 'a>,
sourcefn format(
&self,
full_name: &[String],
name: &[String],
args: &[String],
flags: &[char],
options: &HashMap<String, String, RandomState>
) -> Result<String, SingleFmtError>
fn format(
&self,
full_name: &[String],
name: &[String],
args: &[String],
flags: &[char],
options: &HashMap<String, String, RandomState>
) -> Result<String, SingleFmtError>
Perform the formatting of a single placeholder. Placeholder’s full
name, name segments of child format units, arguments, flags and options
will be passed to this method. Read more