Struct makepad_shader_compiler::shader_ast::ClosureDef
source · pub struct ClosureDef {
pub span: TokenSpan,
pub closed_over_syms: RefCell<Option<Vec<Sym>>>,
pub params: Vec<ClosureParam>,
pub kind: ClosureDefKind,
}
Fields§
§span: TokenSpan
§closed_over_syms: RefCell<Option<Vec<Sym>>>
§params: Vec<ClosureParam>
§kind: ClosureDefKind
Trait Implementations§
source§impl Clone for ClosureDef
impl Clone for ClosureDef
source§fn clone(&self) -> ClosureDef
fn clone(&self) -> ClosureDef
Returns a copy 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 moreAuto Trait Implementations§
impl !RefUnwindSafe for ClosureDef
impl !Send for ClosureDef
impl !Sync for ClosureDef
impl Unpin for ClosureDef
impl UnwindSafe for ClosureDef
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