pub struct Swizzle {
pub sw0: usize,
pub sw1: usize,
pub sw2: Option<usize>,
pub sw3: Option<usize>,
pub expr: Expression,
pub source_range: Range,
}
Expand description
Swizzle expression.
Fields§
§sw0: usize
First component swizzle.
sw1: usize
Second component swizzle.
sw2: Option<usize>
Third component swizzle.
sw3: Option<usize>
Fourth component swizzle.
expr: Expression
4D vector expression.
source_range: Range
The range in source.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Swizzle
impl Send for Swizzle
impl Sync for Swizzle
impl Unpin for Swizzle
impl !UnwindSafe for Swizzle
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