pub struct ParamDeclaration {
pub span: SourceSpan,
pub name: String,
pub typ: ParamType,
}Expand description
A param.
Fields§
§span: SourceSpanThe location of the param
name: StringThe name of the param
typ: ParamTypeThe type of the param
Trait Implementations§
Source§impl Clone for ParamDeclaration
impl Clone for ParamDeclaration
Source§fn clone(&self) -> ParamDeclaration
fn clone(&self) -> ParamDeclaration
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 ParamDeclaration
impl Debug for ParamDeclaration
Source§impl<'de> Deserialize<'de> for ParamDeclaration
impl<'de> Deserialize<'de> for ParamDeclaration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ParamDeclaration
impl PartialEq for ParamDeclaration
Source§fn eq(&self, other: &ParamDeclaration) -> bool
fn eq(&self, other: &ParamDeclaration) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ParamDeclaration
impl Serialize for ParamDeclaration
impl Eq for ParamDeclaration
impl StructuralPartialEq for ParamDeclaration
Auto Trait Implementations§
impl Freeze for ParamDeclaration
impl RefUnwindSafe for ParamDeclaration
impl Send for ParamDeclaration
impl Sync for ParamDeclaration
impl Unpin for ParamDeclaration
impl UnsafeUnpin for ParamDeclaration
impl UnwindSafe for ParamDeclaration
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