Struct glib_sys::GRegexCompileFlags []

pub struct GRegexCompileFlags {
    // some fields omitted
}

Methods

impl GRegexCompileFlags

fn empty() -> GRegexCompileFlags

Returns an empty set of flags.

fn all() -> GRegexCompileFlags

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<GRegexCompileFlags>

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

fn from_bits_truncate(bits: c_uint) -> GRegexCompileFlags

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: GRegexCompileFlags) -> bool

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

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

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

fn insert(&mut self, other: GRegexCompileFlags)

Inserts the specified flags in-place.

fn remove(&mut self, other: GRegexCompileFlags)

Removes the specified flags in-place.

fn toggle(&mut self, other: GRegexCompileFlags)

Toggles the specified flags in-place.

Trait Implementations

impl Debug for GRegexCompileFlags

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

impl BitOr for GRegexCompileFlags

type Output = GRegexCompileFlags

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

impl BitXor for GRegexCompileFlags

type Output = GRegexCompileFlags

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

impl BitAnd for GRegexCompileFlags

type Output = GRegexCompileFlags

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

impl Sub for GRegexCompileFlags

type Output = GRegexCompileFlags

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

impl Not for GRegexCompileFlags

type Output = GRegexCompileFlags

fn not(self) -> GRegexCompileFlags

impl FromIterator<GRegexCompileFlags> for GRegexCompileFlags

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

Derived Implementations

impl Hash for GRegexCompileFlags

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 GRegexCompileFlags

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

impl PartialOrd for GRegexCompileFlags

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

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

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

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

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

impl Clone for GRegexCompileFlags

fn clone(&self) -> GRegexCompileFlags

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

impl Eq for GRegexCompileFlags

impl PartialEq for GRegexCompileFlags

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

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

impl Copy for GRegexCompileFlags