pub struct ActionParam {
pub name: Ident,
pub ty: TypeSyntax,
pub span: SourceSpan,
}Expand description
One typed parameter of an action template (DR-0023).
Fields§
§name: Ident§ty: TypeSyntax§span: SourceSpanTrait Implementations§
Source§impl Clone for ActionParam
impl Clone for ActionParam
Source§fn clone(&self) -> ActionParam
fn clone(&self) -> ActionParam
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ActionParam
impl Debug for ActionParam
impl Eq for ActionParam
Source§impl PartialEq for ActionParam
impl PartialEq for ActionParam
impl StructuralPartialEq for ActionParam
Auto Trait Implementations§
impl Freeze for ActionParam
impl RefUnwindSafe for ActionParam
impl Send for ActionParam
impl Sync for ActionParam
impl Unpin for ActionParam
impl UnsafeUnpin for ActionParam
impl UnwindSafe for ActionParam
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