pub struct ContainerMaterial(pub ShaderMaterial);Expand description
Container’s theme-default material slot — theme.with_ext(ContainerMaterial(m)).
Tuple Fields§
§0: ShaderMaterialTrait Implementations§
Source§impl MaterialKey for ContainerMaterial
impl MaterialKey for ContainerMaterial
fn material(&self) -> &ShaderMaterial
Auto Trait Implementations§
impl Freeze for ContainerMaterial
impl RefUnwindSafe for ContainerMaterial
impl Send for ContainerMaterial
impl Sync for ContainerMaterial
impl Unpin for ContainerMaterial
impl UnsafeUnpin for ContainerMaterial
impl UnwindSafe for ContainerMaterial
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