pub struct TexInfo2D {
pub p: Point2f,
pub dpdx: Vector2f,
pub dpdy: Vector2f,
}Expand description
Represents a texture information
Fields§
§p: Point2fcoordinates in texture plane
dpdx: Vector2fdifferentials along pixel plane
dpdy: Vector2fdifferentials along pixel plane
Trait Implementations§
impl Copy for TexInfo2D
impl StructuralPartialEq for TexInfo2D
Auto Trait Implementations§
impl Freeze for TexInfo2D
impl RefUnwindSafe for TexInfo2D
impl Send for TexInfo2D
impl Sync for TexInfo2D
impl Unpin for TexInfo2D
impl UnwindSafe for TexInfo2D
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more