[][src]Struct nuki::Panel

#[repr(C)]pub struct Panel { /* fields omitted */ }

Implementations

impl Panel[src]

pub fn bounds(&self) -> &Rect[src]

pub fn bounds_mut(&mut self) -> &mut Rect[src]

pub fn set_bounds(&mut self, b: Rect)[src]

pub fn panel_type(&self) -> &PanelType[src]

pub fn panel_type_mut(&mut self) -> &mut PanelType[src]

pub fn set_panel_type(&mut self, t: PanelType)[src]

pub fn flags(&self) -> &Flags[src]

pub fn flags_mut(&mut self) -> &mut Flags[src]

pub fn set_flags(&mut self, f: Flags)[src]

pub fn offset_x(&self) -> u32[src]

pub fn set_offset_x(&mut self, o: u32)[src]

pub fn offset_y(&self) -> u32[src]

pub fn set_offset_y(&mut self, o: u32)[src]

pub fn at_x(&self) -> f32[src]

pub fn set_at_x(&mut self, f: f32)[src]

pub fn at_y(&self) -> f32[src]

pub fn set_at_y(&mut self, f: f32)[src]

pub fn max_x(&self) -> f32[src]

pub fn set_max_x(&mut self, f: f32)[src]

pub fn footer_height(&self) -> f32[src]

pub fn header_height(&self) -> f32[src]

pub fn set_header_height(&mut self, f: f32)[src]

pub fn border(&self) -> f32[src]

pub fn set_border(&mut self, f: f32)[src]

pub fn has_scrolling(&self) -> bool[src]

pub fn set_has_scrolling(&mut self, f: bool)[src]

pub fn clip(&self) -> &Rect[src]

pub fn clip_mut(&mut self) -> &mut Rect[src]

pub fn set_clip(&mut self, f: Rect)[src]

pub fn menu(&self) -> &MenuState[src]

pub fn menu_mut(&mut self) -> &mut MenuState[src]

pub fn set_menu(&mut self, f: MenuState)[src]

pub fn row(&self) -> &RowLayout[src]

pub fn chart(&self) -> &Chart[src]

pub fn buffer(&self) -> Option<&CommandBuffer>[src]

pub fn parent(&self) -> Option<&Panel>[src]

Trait Implementations

impl AsMut<nk_panel> for Panel[src]

impl AsRef<nk_panel> for Panel[src]

impl Clone for Panel[src]

impl Default for Panel[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.