#[repr(C)]pub struct MotionVectorVertex {
pub pos: [f32; 2],
pub color: [f32; 4],
}Expand description
One vertex of the motion-vector stream. Two per segment (head + tail). Pure passthrough — the shader doesn’t transform or shade, just emits the per-segment colour.
Fields§
§pos: [f32; 2]§color: [f32; 4]Trait Implementations§
Source§impl Clone for MotionVectorVertex
impl Clone for MotionVectorVertex
Source§fn clone(&self) -> MotionVectorVertex
fn clone(&self) -> MotionVectorVertex
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MotionVectorVertex
impl Debug for MotionVectorVertex
Source§impl Default for MotionVectorVertex
impl Default for MotionVectorVertex
Source§fn default() -> MotionVectorVertex
fn default() -> MotionVectorVertex
Returns the “default value” for a type. Read more
Source§impl PartialEq for MotionVectorVertex
impl PartialEq for MotionVectorVertex
impl Copy for MotionVectorVertex
impl Pod for MotionVectorVertex
impl StructuralPartialEq for MotionVectorVertex
Auto Trait Implementations§
impl Freeze for MotionVectorVertex
impl RefUnwindSafe for MotionVectorVertex
impl Send for MotionVectorVertex
impl Sync for MotionVectorVertex
impl Unpin for MotionVectorVertex
impl UnwindSafe for MotionVectorVertex
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
§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.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§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().