Struct makepad_shader_compiler::shader_ast::ClosureParam
source · [−]pub struct ClosureParam {
pub span: TokenSpan,
pub ident: Ident,
pub shadow: Cell<Option<ScopeSymShadow>>,
}
Fields
span: TokenSpan
ident: Ident
shadow: Cell<Option<ScopeSymShadow>>
Trait Implementations
sourceimpl Clone for ClosureParam
impl Clone for ClosureParam
sourcefn clone(&self) -> ClosureParam
fn clone(&self) -> ClosureParam
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 ClosureParam
impl Send for ClosureParam
impl !Sync for ClosureParam
impl Unpin for ClosureParam
impl UnwindSafe for ClosureParam
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