Struct glib_sys::GAsciiType []

pub struct GAsciiType {
    // some fields omitted
}

Methods

impl GAsciiType

fn empty() -> GAsciiType

Returns an empty set of flags.

fn all() -> GAsciiType

Returns the set containing all flags.

fn bits(&self) -> c_uint

Returns the raw value of the flags currently stored.

fn from_bits(bits: c_uint) -> Option<GAsciiType>

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

fn from_bits_truncate(bits: c_uint) -> GAsciiType

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

fn is_empty(&self) -> bool

Returns true if no flags are currently stored.

fn is_all(&self) -> bool

Returns true if all flags are currently set.

fn intersects(&self, other: GAsciiType) -> bool

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

fn contains(&self, other: GAsciiType) -> bool

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

fn insert(&mut self, other: GAsciiType)

Inserts the specified flags in-place.

fn remove(&mut self, other: GAsciiType)

Removes the specified flags in-place.

fn toggle(&mut self, other: GAsciiType)

Toggles the specified flags in-place.

Trait Implementations

impl Debug for GAsciiType

fn fmt(&self, f: &mut Formatter) -> Result

impl BitOr for GAsciiType

type Output = GAsciiType

fn bitor(self, other: GAsciiType) -> GAsciiType

impl BitXor for GAsciiType

type Output = GAsciiType

fn bitxor(self, other: GAsciiType) -> GAsciiType

impl BitAnd for GAsciiType

type Output = GAsciiType

fn bitand(self, other: GAsciiType) -> GAsciiType

impl Sub for GAsciiType

type Output = GAsciiType

fn sub(self, other: GAsciiType) -> GAsciiType

impl Not for GAsciiType

type Output = GAsciiType

fn not(self) -> GAsciiType

impl FromIterator<GAsciiType> for GAsciiType

fn from_iter<T: IntoIterator<Item=GAsciiType>>(iterator: T) -> GAsciiType

Derived Implementations

impl Hash for GAsciiType

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

1.3.0fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Ord for GAsciiType

fn cmp(&self, __arg_0: &GAsciiType) -> Ordering

impl PartialOrd for GAsciiType

fn partial_cmp(&self, __arg_0: &GAsciiType) -> Option<Ordering>

fn lt(&self, __arg_0: &GAsciiType) -> bool

fn le(&self, __arg_0: &GAsciiType) -> bool

fn gt(&self, __arg_0: &GAsciiType) -> bool

fn ge(&self, __arg_0: &GAsciiType) -> bool

impl Clone for GAsciiType

fn clone(&self) -> GAsciiType

1.0.0fn clone_from(&mut self, source: &Self)

impl Eq for GAsciiType

impl PartialEq for GAsciiType

fn eq(&self, __arg_0: &GAsciiType) -> bool

fn ne(&self, __arg_0: &GAsciiType) -> bool

impl Copy for GAsciiType