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§
source§impl ContentBoxNode
impl ContentBoxNode
pub fn remap_props<F>(&mut self, f: F)where F: FnMut(Props) -> Props,
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) -> WidgetNode
fn from(data: ContentBoxNode) -> WidgetNode
Converts to this type from the input type.
source§impl From<ContentBoxNode> for WidgetUnitNode
impl From<ContentBoxNode> for WidgetUnitNode
source§fn from(unit: ContentBoxNode) -> WidgetUnitNode
fn from(unit: ContentBoxNode) -> WidgetUnitNode
Converts to this type from the input type.
source§impl TryFrom<ContentBoxNode> for ContentBox
impl TryFrom<ContentBoxNode> for ContentBox
source§fn 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§
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