Enum makepad_shader_compiler::shader_ast::Lit
source · pub enum Lit {
Bool(bool),
Int(i32),
Float(f32),
Color(u32),
}
Variants§
Implementations§
Trait Implementations§
impl Copy for Lit
impl StructuralPartialEq for Lit
Auto Trait Implementations§
impl RefUnwindSafe for Lit
impl Send for Lit
impl Sync for Lit
impl Unpin for Lit
impl UnwindSafe for Lit
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