#[repr(u32)]pub enum GFormatSizeFlags {
G_FORMAT_SIZE_DEFAULT = 0,
G_FORMAT_SIZE_LONG_FORMAT = 1,
G_FORMAT_SIZE_IEC_UNITS = 2,
G_FORMAT_SIZE_BITS = 4,
G_FORMAT_SIZE_ONLY_VALUE = 8,
G_FORMAT_SIZE_ONLY_UNIT = 16,
}Variants§
G_FORMAT_SIZE_DEFAULT = 0
G_FORMAT_SIZE_LONG_FORMAT = 1
G_FORMAT_SIZE_IEC_UNITS = 2
G_FORMAT_SIZE_BITS = 4
G_FORMAT_SIZE_ONLY_VALUE = 8
G_FORMAT_SIZE_ONLY_UNIT = 16
Trait Implementations§
Source§impl Clone for GFormatSizeFlags
impl Clone for GFormatSizeFlags
Source§fn clone(&self) -> GFormatSizeFlags
fn clone(&self) -> GFormatSizeFlags
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GFormatSizeFlags
impl Debug for GFormatSizeFlags
Source§impl Hash for GFormatSizeFlags
impl Hash for GFormatSizeFlags
Source§impl PartialEq for GFormatSizeFlags
impl PartialEq for GFormatSizeFlags
impl Copy for GFormatSizeFlags
impl Eq for GFormatSizeFlags
impl StructuralPartialEq for GFormatSizeFlags
Auto Trait Implementations§
impl Freeze for GFormatSizeFlags
impl RefUnwindSafe for GFormatSizeFlags
impl Send for GFormatSizeFlags
impl Sync for GFormatSizeFlags
impl Unpin for GFormatSizeFlags
impl UnwindSafe for GFormatSizeFlags
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more