[−][src]Struct serde_mangadex::langs::LanguageSet
A bit set of for filtering and/or smaller costs of storage.
Methods
impl LanguageSet
[src]
pub fn new() -> Self
[src]
pub fn has<T: Into<Language>>(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<Language> for LanguageSet
[src]
Utility for adding type to this bit set
fn add_assign(&mut self, rhs: Language)
[src]
impl BitAnd<LanguageSet> for LanguageSet
[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<LanguageSet> for LanguageSet
[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<LanguageSet> for LanguageSet
[src]
Utility for combining two sets
fn bitor_assign(&mut self, rhs: Self)
[src]
impl BitXor<LanguageSet> for LanguageSet
[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 LanguageSet
[src]
fn clone(&self) -> LanguageSet
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for LanguageSet
[src]
impl Debug for LanguageSet
[src]
impl Default for LanguageSet
[src]
fn default() -> LanguageSet
[src]
impl<'de> Deserialize<'de> for LanguageSet
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for LanguageSet
[src]
impl<T: Into<LanguageSet>> From<Option<T>> for LanguageSet
[src]
Utility for converting an optional type into a set of itself (with full state if none)
impl<T: Into<Language>> From<T> for LanguageSet
[src]
Utility for converting a single type into a set of itself
impl<T: Into<Language>> From<Vec<T>> for LanguageSet
[src]
Utility for converting a list of type-alike into a set of type
impl<T: Into<Language>> FromIterator<T> for LanguageSet
[src]
Utility for converting an iterable of type-alike into a set of type
fn from_iter<I: IntoIterator<Item = T>>(iter: I) -> Self
[src]
impl Not for LanguageSet
[src]
Utility for the opposite of this set
impl Ord for LanguageSet
[src]
fn cmp(&self, other: &LanguageSet) -> 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<LanguageSet> for LanguageSet
[src]
fn eq(&self, other: &LanguageSet) -> bool
[src]
fn ne(&self, other: &LanguageSet) -> bool
[src]
impl PartialOrd<LanguageSet> for LanguageSet
[src]
fn partial_cmp(&self, other: &LanguageSet) -> Option<Ordering>
[src]
fn lt(&self, other: &LanguageSet) -> bool
[src]
fn le(&self, other: &LanguageSet) -> bool
[src]
fn gt(&self, other: &LanguageSet) -> bool
[src]
fn ge(&self, other: &LanguageSet) -> bool
[src]
impl Serialize for LanguageSet
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for LanguageSet
[src]
impl StructuralPartialEq for LanguageSet
[src]
impl SubAssign<Language> for LanguageSet
[src]
Utility for removing type from this bit set
fn sub_assign(&mut self, rhs: Language)
[src]
Auto Trait Implementations
impl RefUnwindSafe for LanguageSet
impl Send for LanguageSet
impl Sync for LanguageSet
impl Unpin for LanguageSet
impl UnwindSafe for LanguageSet
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>,