pub struct SizeBoxNode {
pub id: WidgetId,
pub props: Props,
pub slot: Box<WidgetNode>,
pub width: SizeBoxSizeValue,
pub height: SizeBoxSizeValue,
pub margin: Rect,
pub transform: Transform,
}
Fields§
§id: WidgetId
§props: Props
§slot: Box<WidgetNode>
§width: SizeBoxSizeValue
§height: SizeBoxSizeValue
§margin: Rect
§transform: Transform
Implementations§
source§impl SizeBoxNode
impl SizeBoxNode
pub fn remap_props<F>(&mut self, f: F)
Trait Implementations§
source§impl Clone for SizeBoxNode
impl Clone for SizeBoxNode
source§fn clone(&self) -> SizeBoxNode
fn clone(&self) -> SizeBoxNode
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 SizeBoxNode
impl Debug for SizeBoxNode
source§impl Default for SizeBoxNode
impl Default for SizeBoxNode
source§fn default() -> SizeBoxNode
fn default() -> SizeBoxNode
Returns the “default value” for a type. Read more
source§impl From<SizeBoxNode> for WidgetNode
impl From<SizeBoxNode> for WidgetNode
source§fn from(data: SizeBoxNode) -> Self
fn from(data: SizeBoxNode) -> Self
Converts to this type from the input type.
source§impl From<SizeBoxNode> for WidgetUnitNode
impl From<SizeBoxNode> for WidgetUnitNode
source§fn from(unit: SizeBoxNode) -> Self
fn from(unit: SizeBoxNode) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SizeBoxNode
impl !RefUnwindSafe for SizeBoxNode
impl Send for SizeBoxNode
impl Sync for SizeBoxNode
impl Unpin for SizeBoxNode
impl !UnwindSafe for SizeBoxNode
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
)