Struct nuklear_rust::NkRowLayout
[−]
[src]
#[repr(C)]pub struct NkRowLayout { /* fields omitted */ }
Methods
impl NkRowLayout[src]
fn layout_type(&self) -> &NkPanelRowLayoutType
fn layout_type_mut(&mut self) -> &mut NkPanelRowLayoutType
fn index(&self) -> i32
fn set_index(&mut self, i: i32)
fn height(&self) -> f32
fn set_height(&mut self, i: f32)
fn columns(&self) -> i32
fn set_columns(&mut self, i: i32)
fn ratio(&self) -> &f32
fn item_width(&self) -> f32
fn set_item_width(&mut self, i: f32)
fn item_height(&self) -> f32
fn set_item_height(&mut self, i: f32)
fn item_offset(&self) -> f32
fn set_item_offset(&mut self, i: f32)
fn filled(&self) -> f32
fn set_filled(&mut self, i: f32)
fn item(&self) -> &NkRect
fn item_mut(&mut self) -> &mut NkRect
fn tree_depth(&self) -> i32
fn set_tree_depth(&mut self, i: i32)
fn templates(&self) -> &[f32]
fn templates_mut(&mut self) -> &mut [f32]
Trait Implementations
impl Clone for NkRowLayout[src]
fn clone(&self) -> NkRowLayout
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl AsRef<nk_row_layout> for NkRowLayout[src]
fn as_ref(&self) -> &nk_row_layout
Performs the conversion.
impl AsMut<nk_row_layout> for NkRowLayout[src]
fn as_mut(&mut self) -> &mut nk_row_layout
Performs the conversion.