pub enum ThreeMfAppearance {
Colors([[u8; 4]; 3]),
Texture {
texture_id: u32,
uv: [[f64; 2]; 3],
},
Composite {
colors: Vec<[u8; 3]>,
weights: [Vec<f64>; 3],
},
}Expand description
Lossless per-corner appearance, in triangle winding order.
Variants§
Implementations§
Source§impl ThreeMfAppearance
impl ThreeMfAppearance
Sourcepub fn preview_rgb(&self) -> Option<[u8; 3]>
pub fn preview_rgb(&self) -> Option<[u8; 3]>
RGB preview for consumers that support only one colour per face.
Trait Implementations§
Source§impl Clone for ThreeMfAppearance
impl Clone for ThreeMfAppearance
Source§impl Debug for ThreeMfAppearance
impl Debug for ThreeMfAppearance
Source§impl PartialEq for ThreeMfAppearance
impl PartialEq for ThreeMfAppearance
Source§impl Serialize for ThreeMfAppearance
impl Serialize for ThreeMfAppearance
impl StructuralPartialEq for ThreeMfAppearance
Auto Trait Implementations§
impl Forget for ThreeMfAppearance
impl Freeze for ThreeMfAppearance
impl Move for ThreeMfAppearance
impl RefUnwindSafe for ThreeMfAppearance
impl Send for ThreeMfAppearance
impl Sync for ThreeMfAppearance
impl Unpin for ThreeMfAppearance
impl UnsafeUnpin for ThreeMfAppearance
impl UnwindSafe for ThreeMfAppearance
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