[−][src]Struct serde_mangadex::genres::GenreSet
A bit set of for filtering and/or smaller costs of storage.
Methods
impl GenreSet
[src]
pub fn new() -> Self
[src]
pub fn has<T: Into<Genre>>(self, other: T) -> bool
[src]
Self contains type
pub fn contains<T: Into<Self>>(self, other: T) -> bool
[src]
Self is contained in part by other
pub fn contained<T: Into<Self>>(self, other: T) -> bool
[src]
Self is contained in full by other
Trait Implementations
impl AddAssign<Genre> for GenreSet
[src]
Utility for adding type to this bit set
fn add_assign(&mut self, rhs: Genre)
[src]
impl BitAnd<GenreSet> for GenreSet
[src]
Utility for the intersection of two sets
type Output = Self
The resulting type after applying the &
operator.
fn bitand(self, rhs: Self) -> Self
[src]
impl BitOr<GenreSet> for GenreSet
[src]
Utility for combining two sets
type Output = Self
The resulting type after applying the |
operator.
fn bitor(self, rhs: Self) -> Self
[src]
impl BitOrAssign<GenreSet> for GenreSet
[src]
Utility for combining two sets
fn bitor_assign(&mut self, rhs: Self)
[src]
impl BitXor<GenreSet> for GenreSet
[src]
Utility for the difference of two sets
type Output = Self
The resulting type after applying the ^
operator.
fn bitxor(self, rhs: Self) -> Self
[src]
impl Clone for GenreSet
[src]
impl Copy for GenreSet
[src]
impl Debug for GenreSet
[src]
impl Default for GenreSet
[src]
impl<'de> Deserialize<'de> for GenreSet
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for GenreSet
[src]
impl<T: Into<GenreSet>> From<Option<T>> for GenreSet
[src]
Utility for converting an optional type into a set of itself (with full state if none)
impl<T: Into<Genre>> From<T> for GenreSet
[src]
Utility for converting a single type into a set of itself
impl<T: Into<Genre>> From<Vec<T>> for GenreSet
[src]
Utility for converting a list of type-alike into a set of type
impl Not for GenreSet
[src]
Utility for the opposite of this set
impl Ord for GenreSet
[src]
fn cmp(&self, other: &GenreSet) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<GenreSet> for GenreSet
[src]
impl PartialOrd<GenreSet> for GenreSet
[src]
fn partial_cmp(&self, other: &GenreSet) -> Option<Ordering>
[src]
fn lt(&self, other: &GenreSet) -> bool
[src]
fn le(&self, other: &GenreSet) -> bool
[src]
fn gt(&self, other: &GenreSet) -> bool
[src]
fn ge(&self, other: &GenreSet) -> bool
[src]
impl Serialize for GenreSet
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for GenreSet
[src]
impl StructuralPartialEq for GenreSet
[src]
impl SubAssign<Genre> for GenreSet
[src]
Utility for removing type from this bit set
fn sub_assign(&mut self, rhs: Genre)
[src]
Auto Trait Implementations
impl RefUnwindSafe for GenreSet
impl Send for GenreSet
impl Sync for GenreSet
impl Unpin for GenreSet
impl UnwindSafe for GenreSet
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,