Struct oxygengine_user_interface::raui::core::widget::unit::content::ContentBoxNode
source · [−]pub struct ContentBoxNode {
pub id: WidgetId,
pub props: Props,
pub items: Vec<ContentBoxItemNode, Global>,
pub clipping: bool,
pub transform: Transform,
}
Fields
id: WidgetId
props: Props
items: Vec<ContentBoxItemNode, Global>
clipping: bool
transform: Transform
Implementations
sourceimpl ContentBoxNode
impl ContentBoxNode
pub fn remap_props<F>(&mut self, f: F)where
F: FnMut(Props) -> Props,
Trait Implementations
sourceimpl Clone for ContentBoxNode
impl Clone for ContentBoxNode
sourcefn clone(&self) -> ContentBoxNode
fn clone(&self) -> ContentBoxNode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ContentBoxNode
impl Debug for ContentBoxNode
sourceimpl Default for ContentBoxNode
impl Default for ContentBoxNode
sourcefn default() -> ContentBoxNode
fn default() -> ContentBoxNode
Returns the “default value” for a type. Read more
sourceimpl From<ContentBoxNode> for WidgetNode
impl From<ContentBoxNode> for WidgetNode
sourcefn from(data: ContentBoxNode) -> WidgetNode
fn from(data: ContentBoxNode) -> WidgetNode
Converts to this type from the input type.
sourceimpl From<ContentBoxNode> for WidgetUnitNode
impl From<ContentBoxNode> for WidgetUnitNode
sourcefn from(unit: ContentBoxNode) -> WidgetUnitNode
fn from(unit: ContentBoxNode) -> WidgetUnitNode
Converts to this type from the input type.
sourceimpl TryFrom<ContentBoxNode> for ContentBox
impl TryFrom<ContentBoxNode> for ContentBox
sourcefn try_from(
node: ContentBoxNode
) -> Result<ContentBox, <ContentBox as TryFrom<ContentBoxNode>>::Error>
fn try_from(
node: ContentBoxNode
) -> Result<ContentBox, <ContentBox as TryFrom<ContentBoxNode>>::Error>
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for ContentBoxNode
impl Send for ContentBoxNode
impl Sync for ContentBoxNode
impl Unpin for ContentBoxNode
impl !UnwindSafe for ContentBoxNode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more