Struct makepad_shader_compiler::shader_ast::ClosureSiteArg
source · [−]pub struct ClosureSiteArg {
pub param_index: usize,
pub closure_def_index: ClosureDefIndex,
}
Fields
param_index: usize
closure_def_index: ClosureDefIndex
Trait Implementations
sourceimpl Clone for ClosureSiteArg
impl Clone for ClosureSiteArg
sourcefn clone(&self) -> ClosureSiteArg
fn clone(&self) -> ClosureSiteArg
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 moresourceimpl Debug for ClosureSiteArg
impl Debug for ClosureSiteArg
impl Copy for ClosureSiteArg
Auto Trait Implementations
impl RefUnwindSafe for ClosureSiteArg
impl Send for ClosureSiteArg
impl Sync for ClosureSiteArg
impl Unpin for ClosureSiteArg
impl UnwindSafe for ClosureSiteArg
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