Struct makepad_shader_compiler::shader_ast::Match
source · pub struct Match {
pub span: TokenSpan,
pub enum_name: Ident,
pub enum_variant: Ident,
pub enum_value: Cell<Option<usize>>,
pub block: Block,
}
Fields§
§span: TokenSpan
§enum_name: Ident
§enum_variant: Ident
§enum_value: Cell<Option<usize>>
§block: Block
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Match
impl !Send for Match
impl !Sync for Match
impl Unpin for Match
impl UnwindSafe for Match
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