Struct makepad_shader_compiler::shader_ast::ClosureSite
source · [−]pub struct ClosureSite {
pub call_to: FnPtr,
pub all_closed_over: BTreeSet<Sym>,
pub closure_args: Vec<ClosureSiteArg>,
}
Fields
call_to: FnPtr
all_closed_over: BTreeSet<Sym>
closure_args: Vec<ClosureSiteArg>
Trait Implementations
sourceimpl Clone for ClosureSite
impl Clone for ClosureSite
sourcefn clone(&self) -> ClosureSite
fn clone(&self) -> ClosureSite
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 ClosureSite
impl !Send for ClosureSite
impl !Sync for ClosureSite
impl Unpin for ClosureSite
impl UnwindSafe for ClosureSite
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