pub struct TypedParam {
pub name: String,
pub typ: String,
}Expand description
A typed parameter in a module signature.
Fields§
§name: StringThe parameter’s name.
typ: StringThe declared type keyword.
Trait Implementations§
Source§impl Clone for TypedParam
impl Clone for TypedParam
Source§fn clone(&self) -> TypedParam
fn clone(&self) -> TypedParam
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 moreAuto Trait Implementations§
impl Freeze for TypedParam
impl RefUnwindSafe for TypedParam
impl Send for TypedParam
impl Sync for TypedParam
impl Unpin for TypedParam
impl UnsafeUnpin for TypedParam
impl UnwindSafe for TypedParam
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