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) -> WidgetNode
fn from(data: GridBoxNode) -> WidgetNode
Converts to this type from the input type.
source§impl From<GridBoxNode> for WidgetUnitNode
impl From<GridBoxNode> for WidgetUnitNode
source§fn from(unit: GridBoxNode) -> WidgetUnitNode
fn from(unit: GridBoxNode) -> WidgetUnitNode
Converts to this type from the input type.
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§
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
§impl<T> Initialize for Twhere
T: Default,
impl<T> Initialize for Twhere
T: Default,
fn initialize(&mut self)
§unsafe fn initialize_raw(data: *mut ())
unsafe fn initialize_raw(data: *mut ())
Safety Read more
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.