Struct glib::FlagsValue
source · pub struct FlagsValue(_, _);
Expand description
Representation of a single flags value of a FlagsClass
.
Implementations
sourceimpl FlagsValue
impl FlagsValue
sourcepub fn from_value(value: &Value) -> Vec<FlagsValue>
pub fn from_value(value: &Value) -> Vec<FlagsValue>
Convert flags values from a Value
. This returns all flags that are set.
sourcepub fn get_class(&self) -> &FlagsClass
pub fn get_class(&self) -> &FlagsClass
Get FlagsClass
to which the flags value belongs.
Trait Implementations
sourceimpl Clone for FlagsValue
impl Clone for FlagsValue
sourcefn clone(&self) -> FlagsValue
fn clone(&self) -> FlagsValue
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for FlagsValue
impl Debug for FlagsValue
sourceimpl PartialEq<FlagsValue> for FlagsValue
impl PartialEq<FlagsValue> for FlagsValue
impl Eq for FlagsValue
Auto Trait Implementations
impl RefUnwindSafe for FlagsValue
impl !Send for FlagsValue
impl !Sync for FlagsValue
impl Unpin for FlagsValue
impl UnwindSafe for FlagsValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more