pub struct Look {
pub mode: Mode,
pub glint: bool,
pub tint: Color,
}Expand description
How a mesh looks: how it’s drawn, whether it shines, its tint (alpha
counts in Mode::Translucent).
Fields§
§mode: Mode§glint: boolThe enchantment shine.
tint: ColorTrait Implementations§
impl Copy for Look
impl Eq for Look
impl StructuralPartialEq for Look
Auto Trait Implementations§
impl Freeze for Look
impl RefUnwindSafe for Look
impl Send for Look
impl Sync for Look
impl Unpin for Look
impl UnsafeUnpin for Look
impl UnwindSafe for Look
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