pub struct GridBoxNode {
pub id: WidgetId,
pub props: Props,
pub items: Vec<GridBoxItemNode>,
pub cols: usize,
pub rows: usize,
pub transform: Transform,
}
Fields§
§id: WidgetId
§props: Props
§items: Vec<GridBoxItemNode>
§cols: usize
§rows: usize
§transform: Transform
Implementations§
source§impl GridBoxNode
impl GridBoxNode
pub fn remap_props<F>(&mut self, f: F)
Trait Implementations§
source§impl Clone for GridBoxNode
impl Clone for GridBoxNode
source§fn clone(&self) -> GridBoxNode
fn clone(&self) -> GridBoxNode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GridBoxNode
impl Debug for GridBoxNode
source§impl Default for GridBoxNode
impl Default for GridBoxNode
source§fn default() -> GridBoxNode
fn default() -> GridBoxNode
Returns the “default value” for a type. Read more
source§impl From<GridBoxNode> for WidgetNode
impl From<GridBoxNode> for WidgetNode
source§fn from(data: GridBoxNode) -> Self
fn from(data: GridBoxNode) -> Self
Converts to this type from the input type.
source§impl From<GridBoxNode> for WidgetUnitNode
impl From<GridBoxNode> for WidgetUnitNode
source§fn from(unit: GridBoxNode) -> Self
fn from(unit: GridBoxNode) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GridBoxNode
impl !RefUnwindSafe for GridBoxNode
impl Send for GridBoxNode
impl Sync for GridBoxNode
impl Unpin for GridBoxNode
impl !UnwindSafe for GridBoxNode
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)