pub struct TextureCoordinate2d { /* private fields */ }Expand description
Normalized texture coordinate with a top-left origin and downward V axis.
Both components are finite in 0..=1. The textured 3D path uses mip level
zero and clamp-to-edge addressing. Atlas cells should map geometry to their
edge texel centers for nearest sampling. Strict linear-filter isolation also
requires host-owned extruded gutters to tolerate interpolation rounding.
Implementations§
Trait Implementations§
Source§impl Clone for TextureCoordinate2d
impl Clone for TextureCoordinate2d
Source§fn clone(&self) -> TextureCoordinate2d
fn clone(&self) -> TextureCoordinate2d
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TextureCoordinate2d
Source§impl Debug for TextureCoordinate2d
impl Debug for TextureCoordinate2d
Source§impl PartialEq for TextureCoordinate2d
impl PartialEq for TextureCoordinate2d
impl StructuralPartialEq for TextureCoordinate2d
Auto Trait Implementations§
impl Freeze for TextureCoordinate2d
impl RefUnwindSafe for TextureCoordinate2d
impl Send for TextureCoordinate2d
impl Sync for TextureCoordinate2d
impl Unpin for TextureCoordinate2d
impl UnsafeUnpin for TextureCoordinate2d
impl UnwindSafe for TextureCoordinate2d
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