Struct raui_core::widget::unit::grid::GridBoxNode [−][src]
pub struct GridBoxNode {
pub id: WidgetId,
pub props: Props,
pub items: Vec<GridBoxItemNode>,
pub cols: usize,
pub rows: usize,
pub transform: Transform,
}Fields
id: WidgetIdprops: Propsitems: Vec<GridBoxItemNode>cols: usizerows: usizetransform: TransformImplementations
impl GridBoxNode[src]
impl GridBoxNode[src]pub fn remap_props<F>(&mut self, f: F) where
F: FnMut(Props) -> Props, [src]
F: FnMut(Props) -> Props,
Trait Implementations
impl Clone for GridBoxNode[src]
impl Clone for GridBoxNode[src]fn clone(&self) -> GridBoxNode[src]
fn clone(&self) -> GridBoxNode[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for GridBoxNode[src]
impl Debug for GridBoxNode[src]impl Default for GridBoxNode[src]
impl Default for GridBoxNode[src]fn default() -> GridBoxNode[src]
fn default() -> GridBoxNode[src]Returns the “default value” for a type. Read more
impl From<GridBoxNode> for WidgetNode[src]
impl From<GridBoxNode> for WidgetNode[src]fn from(data: GridBoxNode) -> Self[src]
fn from(data: GridBoxNode) -> Self[src]Performs the conversion.
impl From<GridBoxNode> for WidgetUnitNode[src]
impl From<GridBoxNode> for WidgetUnitNode[src]fn from(unit: GridBoxNode) -> Self[src]
fn from(unit: GridBoxNode) -> Self[src]Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for GridBoxNode
impl Send for GridBoxNode
impl Sync for GridBoxNode
impl Unpin for GridBoxNode
impl !UnwindSafe for GridBoxNode
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more