Struct allsorts_no_std::gsub::GsubFeatureMask[][src]

pub struct GsubFeatureMask { /* fields omitted */ }

Implementations

impl GsubFeatureMask[src]

pub const ABVF: GsubFeatureMask[src]

pub const ABVS: GsubFeatureMask[src]

pub const AFRC: GsubFeatureMask[src]

pub const AKHN: GsubFeatureMask[src]

pub const BLWF: GsubFeatureMask[src]

pub const BLWS: GsubFeatureMask[src]

pub const C2SC: GsubFeatureMask[src]

pub const CALT: GsubFeatureMask[src]

pub const CCMP: GsubFeatureMask[src]

pub const CFAR: GsubFeatureMask[src]

pub const CJCT: GsubFeatureMask[src]

pub const CLIG: GsubFeatureMask[src]

pub const DLIG: GsubFeatureMask[src]

pub const FINA: GsubFeatureMask[src]

pub const FIN2: GsubFeatureMask[src]

pub const FIN3: GsubFeatureMask[src]

pub const FRAC: GsubFeatureMask[src]

pub const HALF: GsubFeatureMask[src]

pub const HALN: GsubFeatureMask[src]

pub const HLIG: GsubFeatureMask[src]

pub const INIT: GsubFeatureMask[src]

pub const ISOL: GsubFeatureMask[src]

pub const LIGA: GsubFeatureMask[src]

pub const LNUM: GsubFeatureMask[src]

pub const LOCL: GsubFeatureMask[src]

pub const MEDI: GsubFeatureMask[src]

pub const MED2: GsubFeatureMask[src]

pub const MSET: GsubFeatureMask[src]

pub const NUKT: GsubFeatureMask[src]

pub const ONUM: GsubFeatureMask[src]

pub const ORDN: GsubFeatureMask[src]

pub const PNUM: GsubFeatureMask[src]

pub const PREF: GsubFeatureMask[src]

pub const PRES: GsubFeatureMask[src]

pub const PSTF: GsubFeatureMask[src]

pub const PSTS: GsubFeatureMask[src]

pub const RCLT: GsubFeatureMask[src]

pub const RKRF: GsubFeatureMask[src]

pub const RLIG: GsubFeatureMask[src]

pub const RPHF: GsubFeatureMask[src]

pub const SMCP: GsubFeatureMask[src]

pub const TNUM: GsubFeatureMask[src]

pub const VATU: GsubFeatureMask[src]

pub const VRT2_OR_VERT: GsubFeatureMask[src]

pub const ZERO: GsubFeatureMask[src]

pub const fn empty() -> GsubFeatureMask[src]

Returns an empty set of flags

pub const fn all() -> GsubFeatureMask[src]

Returns the set containing all flags.

pub const fn bits(&self) -> u64[src]

Returns the raw value of the flags currently stored.

pub fn from_bits(bits: u64) -> Option<GsubFeatureMask>[src]

Convert from underlying bit representation, unless that representation contains bits that do not correspond to a flag.

pub const fn from_bits_truncate(bits: u64) -> GsubFeatureMask[src]

Convert from underlying bit representation, dropping any bits that do not correspond to flags.

pub const unsafe fn from_bits_unchecked(bits: u64) -> GsubFeatureMask[src]

Convert from underlying bit representation, preserving all bits (even those not corresponding to a defined flag).

pub const fn is_empty(&self) -> bool[src]

Returns true if no flags are currently stored.

pub const fn is_all(&self) -> bool[src]

Returns true if all flags are currently set.

pub const fn intersects(&self, other: GsubFeatureMask) -> bool[src]

Returns true if there are flags common to both self and other.

pub const fn contains(&self, other: GsubFeatureMask) -> bool[src]

Returns true all of the flags in other are contained within self.

pub fn insert(&mut self, other: GsubFeatureMask)[src]

Inserts the specified flags in-place.

pub fn remove(&mut self, other: GsubFeatureMask)[src]

Removes the specified flags in-place.

pub fn toggle(&mut self, other: GsubFeatureMask)[src]

Toggles the specified flags in-place.

pub fn set(&mut self, other: GsubFeatureMask, value: bool)[src]

Inserts or removes the specified flags depending on the passed value.

impl GsubFeatureMask[src]

Trait Implementations

impl Binary for GsubFeatureMask[src]

impl BitAnd<GsubFeatureMask> for GsubFeatureMask[src]

type Output = GsubFeatureMask

The resulting type after applying the & operator.

fn bitand(self, other: GsubFeatureMask) -> GsubFeatureMask[src]

Returns the intersection between the two sets of flags.

impl BitAndAssign<GsubFeatureMask> for GsubFeatureMask[src]

fn bitand_assign(&mut self, other: GsubFeatureMask)[src]

Disables all flags disabled in the set.

impl BitOr<GsubFeatureMask> for GsubFeatureMask[src]

type Output = GsubFeatureMask

The resulting type after applying the | operator.

fn bitor(self, other: GsubFeatureMask) -> GsubFeatureMask[src]

Returns the union of the two sets of flags.

impl BitOrAssign<GsubFeatureMask> for GsubFeatureMask[src]

fn bitor_assign(&mut self, other: GsubFeatureMask)[src]

Adds the set of flags.

impl BitXor<GsubFeatureMask> for GsubFeatureMask[src]

type Output = GsubFeatureMask

The resulting type after applying the ^ operator.

fn bitxor(self, other: GsubFeatureMask) -> GsubFeatureMask[src]

Returns the left flags, but with all the right flags toggled.

impl BitXorAssign<GsubFeatureMask> for GsubFeatureMask[src]

fn bitxor_assign(&mut self, other: GsubFeatureMask)[src]

Toggles the set of flags.

impl Clone for GsubFeatureMask[src]

impl Copy for GsubFeatureMask[src]

impl Debug for GsubFeatureMask[src]

impl Default for GsubFeatureMask[src]

impl Eq for GsubFeatureMask[src]

impl Extend<GsubFeatureMask> for GsubFeatureMask[src]

impl FromIterator<GsubFeatureMask> for GsubFeatureMask[src]

impl Hash for GsubFeatureMask[src]

impl LowerHex for GsubFeatureMask[src]

impl Not for GsubFeatureMask[src]

type Output = GsubFeatureMask

The resulting type after applying the ! operator.

fn not(self) -> GsubFeatureMask[src]

Returns the complement of this set of flags.

impl Octal for GsubFeatureMask[src]

impl Ord for GsubFeatureMask[src]

impl PartialEq<GsubFeatureMask> for GsubFeatureMask[src]

impl PartialOrd<GsubFeatureMask> for GsubFeatureMask[src]

impl StructuralEq for GsubFeatureMask[src]

impl StructuralPartialEq for GsubFeatureMask[src]

impl Sub<GsubFeatureMask> for GsubFeatureMask[src]

type Output = GsubFeatureMask

The resulting type after applying the - operator.

fn sub(self, other: GsubFeatureMask) -> GsubFeatureMask[src]

Returns the set difference of the two sets of flags.

impl SubAssign<GsubFeatureMask> for GsubFeatureMask[src]

fn sub_assign(&mut self, other: GsubFeatureMask)[src]

Disables all flags enabled in the set.

impl UpperHex for GsubFeatureMask[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.