#[repr(C)]pub struct RowLayout { /* private fields */ }
Implementations§
Source§impl RowLayout
impl RowLayout
pub fn layout_type(&self) -> &PanelRowLayoutType
pub fn layout_type_mut(&mut self) -> &mut PanelRowLayoutType
pub fn index(&self) -> i32
pub fn set_index(&mut self, i: i32)
pub fn height(&self) -> f32
pub fn set_height(&mut self, i: f32)
pub fn columns(&self) -> i32
pub fn set_columns(&mut self, i: i32)
pub fn ratio(&self) -> &f32
pub fn item_width(&self) -> f32
pub fn set_item_width(&mut self, i: f32)
pub fn item_height(&self) -> f32
pub fn set_item_height(&mut self, i: f32)
pub fn item_offset(&self) -> f32
pub fn set_item_offset(&mut self, i: f32)
pub fn filled(&self) -> f32
pub fn set_filled(&mut self, i: f32)
pub fn item(&self) -> &Rect
pub fn item_mut(&mut self) -> &mut Rect
pub fn tree_depth(&self) -> i32
pub fn set_tree_depth(&mut self, i: i32)
pub fn templates(&self) -> &[f32]
pub fn templates_mut(&mut self) -> &mut [f32]
Trait Implementations§
Source§impl AsMut<RowLayout> for nk_row_layout
impl AsMut<RowLayout> for nk_row_layout
Source§impl AsMut<nk_row_layout> for RowLayout
impl AsMut<nk_row_layout> for RowLayout
Source§fn as_mut(&mut self) -> &mut nk_row_layout
fn as_mut(&mut self) -> &mut nk_row_layout
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<RowLayout> for nk_row_layout
impl AsRef<RowLayout> for nk_row_layout
Source§impl AsRef<nk_row_layout> for RowLayout
impl AsRef<nk_row_layout> for RowLayout
Source§fn as_ref(&self) -> &nk_row_layout
fn as_ref(&self) -> &nk_row_layout
Converts this type into a shared reference of the (usually inferred) input type.
Auto Trait Implementations§
impl Freeze for RowLayout
impl RefUnwindSafe for RowLayout
impl !Send for RowLayout
impl !Sync for RowLayout
impl Unpin for RowLayout
impl UnwindSafe for RowLayout
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