Struct ambient_api::prelude::ScreenContainer
source · pub struct ScreenContainer(pub Option<Element>);
Expand description
Contains an element with a background color and click area.
Tuple Fields§
§0: Option<Element>
Trait Implementations§
source§impl Clone for ScreenContainer
impl Clone for ScreenContainer
source§fn clone(&self) -> ScreenContainer
fn clone(&self) -> ScreenContainer
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 ScreenContainer
impl Debug for ScreenContainer
source§impl ElementComponent for ScreenContainer
impl ElementComponent for ScreenContainer
Auto Trait Implementations§
impl !RefUnwindSafe for ScreenContainer
impl Send for ScreenContainer
impl Sync for ScreenContainer
impl Unpin for ScreenContainer
impl !UnwindSafe for ScreenContainer
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> Downcast for T
impl<T> Downcast for T
source§impl<T> ElementComponentExt for Twhere
T: ElementComponent + 'static,
impl<T> ElementComponentExt for Twhere
T: ElementComponent + 'static,
source§impl<T> ElementComponentName for T
impl<T> ElementComponentName for T
source§fn element_component_name(&self) -> &'static str
fn element_component_name(&self) -> &'static str
Returns the name of the type implementing ElementComponent.