#[repr(C)]pub struct ComponentInstanceDefault {
pub library: AzString,
pub component: AzString,
pub field_overrides: ComponentFieldOverrideVec,
}Expand description
Default component instance for a StyledDom slot.
Fields§
§library: AzStringLibrary name, e.g. “builtin”
component: AzStringComponent tag, e.g. “a”
field_overrides: ComponentFieldOverrideVecField overrides for this instance
Trait Implementations§
Source§impl Clone for ComponentInstanceDefault
impl Clone for ComponentInstanceDefault
Source§fn clone(&self) -> ComponentInstanceDefault
fn clone(&self) -> ComponentInstanceDefault
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ComponentInstanceDefault
impl Debug for ComponentInstanceDefault
Source§impl PartialEq for ComponentInstanceDefault
impl PartialEq for ComponentInstanceDefault
Source§fn eq(&self, other: &ComponentInstanceDefault) -> bool
fn eq(&self, other: &ComponentInstanceDefault) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ComponentInstanceDefault
Auto Trait Implementations§
impl Freeze for ComponentInstanceDefault
impl RefUnwindSafe for ComponentInstanceDefault
impl Send for ComponentInstanceDefault
impl Sync for ComponentInstanceDefault
impl Unpin for ComponentInstanceDefault
impl UnsafeUnpin for ComponentInstanceDefault
impl UnwindSafe for ComponentInstanceDefault
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