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