[−][src]Struct nuki::Panel
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 set_footer_height(&mut self, f: 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
impl RefUnwindSafe for Panel
[src]
impl !Send for Panel
[src]
impl !Sync for Panel
[src]
impl Unpin for Panel
[src]
impl UnwindSafe for Panel
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,