Struct nobject_rs::Texture
source · pub struct Texture {
pub u: f32,
pub v: Option<f32>,
pub w: Option<f32>,
}
Expand description
Representation of texture data. v/w are optional.
Fields§
§u: f32
U coordinate
v: Option<f32>
Optional V coordinate
w: Option<f32>
Optional W coordinate
Implementations§
Trait Implementations§
source§impl PartialEq for Texture
impl PartialEq for Texture
impl Copy for Texture
impl StructuralPartialEq for Texture
Auto Trait Implementations§
impl Freeze for Texture
impl RefUnwindSafe for Texture
impl Send for Texture
impl Sync for Texture
impl Unpin for Texture
impl UnwindSafe for Texture
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