pub struct Container {
pub properties: StandardProperties,
pub children: HashSet<ResourceId>,
pub assets: HashSet<ResourceId>,
pub parent: Option<ResourceId>,
}Expand description
Container
Fields§
§properties: StandardProperties§children: HashSet<ResourceId>§assets: HashSet<ResourceId>§parent: Option<ResourceId>Trait Implementations§
Source§impl StandardObject for Container
impl StandardObject for Container
Source§fn properties(&self) -> &StandardProperties
fn properties(&self) -> &StandardProperties
Retrieve a reference to the
StandardProperties of the object.Source§fn properties_mut(&mut self) -> &mut StandardProperties
fn properties_mut(&mut self) -> &mut StandardProperties
Retrieve a mutable reference to the
StandardProperties of the object.impl Eq for Container
impl Object for Container
impl StructuralPartialEq for Container
Auto Trait Implementations§
impl Freeze for Container
impl RefUnwindSafe for Container
impl Send for Container
impl Sync for Container
impl Unpin for Container
impl UnwindSafe for Container
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