pub struct SwizzleExpr {
pub base: Box<Expr>,
pub components: String,
pub span: Span,
}Fields§
§base: Box<Expr>§components: StringOriginal lexeme: xy, rgba, zyx, etc. Length 1–4. Caller is
responsible for normalising rgba→xyzw at emit time.
span: SpanTrait Implementations§
Source§impl Clone for SwizzleExpr
impl Clone for SwizzleExpr
Source§fn clone(&self) -> SwizzleExpr
fn clone(&self) -> SwizzleExpr
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 SwizzleExpr
impl Debug for SwizzleExpr
Source§impl PartialEq for SwizzleExpr
impl PartialEq for SwizzleExpr
impl StructuralPartialEq for SwizzleExpr
Auto Trait Implementations§
impl Freeze for SwizzleExpr
impl RefUnwindSafe for SwizzleExpr
impl Send for SwizzleExpr
impl Sync for SwizzleExpr
impl Unpin for SwizzleExpr
impl UnwindSafe for SwizzleExpr
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