pub struct Categories(/* private fields */);Expand description
A set of categories, one bit per Category.
Implementations§
Source§impl Categories
impl Categories
Trait Implementations§
Source§impl BitAnd for Categories
impl BitAnd for Categories
Source§impl BitOr for Categories
impl BitOr for Categories
Source§impl Clone for Categories
impl Clone for Categories
Source§fn clone(&self) -> Categories
fn clone(&self) -> Categories
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Categories
Source§impl Debug for Categories
impl Debug for Categories
Source§impl Default for Categories
impl Default for Categories
Source§fn default() -> Categories
fn default() -> Categories
Returns the “default value” for a type. Read more
impl Eq for Categories
Source§impl From<Category> for Categories
impl From<Category> for Categories
Source§impl Hash for Categories
impl Hash for Categories
Source§impl Not for Categories
impl Not for Categories
Source§impl PartialEq for Categories
impl PartialEq for Categories
impl StructuralPartialEq for Categories
Auto Trait Implementations§
impl Freeze for Categories
impl RefUnwindSafe for Categories
impl Send for Categories
impl Sync for Categories
impl Unpin for Categories
impl UnsafeUnpin for Categories
impl UnwindSafe for Categories
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more