Enum makepad_shader_compiler::shader_ast::TyLit
source · pub enum TyLit {
Show 16 variants
Bool,
Int,
Float,
Bvec2,
Bvec3,
Bvec4,
Ivec2,
Ivec3,
Ivec4,
Vec2,
Vec3,
Vec4,
Mat2,
Mat3,
Mat4,
Texture2D,
}
Variants§
Implementations§
Trait Implementations§
source§impl Ord for TyLit
impl Ord for TyLit
source§impl PartialEq<TyLit> for TyLit
impl PartialEq<TyLit> for TyLit
source§impl PartialOrd<TyLit> for TyLit
impl PartialOrd<TyLit> for TyLit
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for TyLit
impl Eq for TyLit
impl StructuralEq for TyLit
impl StructuralPartialEq for TyLit
Auto Trait Implementations§
impl RefUnwindSafe for TyLit
impl Send for TyLit
impl Sync for TyLit
impl Unpin for TyLit
impl UnwindSafe for TyLit
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