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§
source§impl Clone for ClosureSite
impl Clone for ClosureSite
source§fn clone(&self) -> ClosureSite
fn clone(&self) -> ClosureSite
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 ClosureSite
impl !Send for ClosureSite
impl !Sync for ClosureSite
impl Unpin for ClosureSite
impl UnwindSafe for ClosureSite
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