#[repr(C)]pub enum PanelFlags {
Border = 1,
Movable = 2,
Scalable = 4,
Closable = 8,
Minimizable = 16,
NoScrollbar = 32,
Title = 64,
ScrollAutoHide = 128,
Background = 256,
ScaleLeft = 512,
NoInput = 1_024,
}
Variants§
Border = 1
Movable = 2
Scalable = 4
Closable = 8
Minimizable = 16
NoScrollbar = 32
Title = 64
ScrollAutoHide = 128
Background = 256
ScaleLeft = 512
NoInput = 1_024
Trait Implementations§
Source§impl Clone for PanelFlags
impl Clone for PanelFlags
Source§fn clone(&self) -> PanelFlags
fn clone(&self) -> PanelFlags
Returns a copy 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<'a> From<&'a u32> for &'a PanelFlags
impl<'a> From<&'a u32> for &'a PanelFlags
Source§fn from(a: &'a nk_panel_flags) -> &'a PanelFlags
fn from(a: &'a nk_panel_flags) -> &'a PanelFlags
Converts to this type from the input type.
Source§impl From<PanelFlags> for nk_panel_flags
impl From<PanelFlags> for nk_panel_flags
Source§fn from(a: PanelFlags) -> nk_panel_flags
fn from(a: PanelFlags) -> nk_panel_flags
Converts to this type from the input type.
Source§impl From<u32> for PanelFlags
impl From<u32> for PanelFlags
Source§fn from(a: nk_panel_flags) -> PanelFlags
fn from(a: nk_panel_flags) -> PanelFlags
Converts to this type from the input type.
Source§impl PartialEq for PanelFlags
impl PartialEq for PanelFlags
impl Copy for PanelFlags
impl Eq for PanelFlags
impl StructuralPartialEq for PanelFlags
Auto Trait Implementations§
impl Freeze for PanelFlags
impl RefUnwindSafe for PanelFlags
impl Send for PanelFlags
impl Sync for PanelFlags
impl Unpin for PanelFlags
impl UnwindSafe for PanelFlags
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