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