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
sourceimpl Clone for ClosureDef
impl Clone for ClosureDef
sourcefn clone(&self) -> ClosureDef
fn clone(&self) -> ClosureDef
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more