Enum bos::Abos [−][src]
#[non_exhaustive] pub enum Abos<'b, B: ?Sized> where
B: 'b + ToOwned, { Borrowed(&'b B), Owned(<B as ToOwned>::Owned), Arc(Arc<B>), }
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Borrowed(&'b B)
Arc(Arc<B>)
Implementations
Trait Implementations
Performs the +=
operation. Read more
impl<'b, B: 'b + ToOwned + ?Sized> PartialOrd<Abos<'b, B>> for Abos<'b, B> where
B: PartialOrd,
impl<'b, B: 'b + ToOwned + ?Sized> PartialOrd<Abos<'b, B>> for Abos<'b, B> where
B: PartialOrd,
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl<'b, B: ?Sized> RefUnwindSafe for Abos<'b, B> where
B: RefUnwindSafe,
<B as ToOwned>::Owned: RefUnwindSafe,
impl<'b, B: ?Sized> UnwindSafe for Abos<'b, B> where
B: RefUnwindSafe,
<B as ToOwned>::Owned: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more