pub struct RenderBoxData { /* private fields */ }Expand description
Flutter’s RenderBox fields.
Implementations§
Source§impl RenderBoxData
impl RenderBoxData
Sourcepub fn new() -> RenderBoxData
pub fn new() -> RenderBoxData
Unlaid-out box state.
Sourcepub fn constraints(&self) -> Option<BoxConstraints>
pub fn constraints(&self) -> Option<BoxConstraints>
The constraints most recently supplied by the parent, or None before layout: Dart’s
super.constraints for a leaf that overrides RenderBox::constraints.
Trait Implementations§
Source§impl Default for RenderBoxData
impl Default for RenderBoxData
Source§fn default() -> RenderBoxData
fn default() -> RenderBoxData
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for RenderBoxData
impl !Send for RenderBoxData
impl !Sync for RenderBoxData
impl !UnwindSafe for RenderBoxData
impl Forget for RenderBoxData
impl Freeze for RenderBoxData
impl Move for RenderBoxData
impl Unpin for RenderBoxData
impl UnsafeUnpin for RenderBoxData
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