pub enum StaticParamType {
Type,
Const {
typ: Option<Type>,
},
Node {
is_function: bool,
signature: Option<TypedSignature>,
},
}Variants§
Trait Implementations§
Source§impl Clone for StaticParamType
impl Clone for StaticParamType
Source§fn clone(&self) -> StaticParamType
fn clone(&self) -> StaticParamType
Returns a copy of the value. Read more
1.0.0 · 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 StaticParamType
impl Debug for StaticParamType
Source§impl Hash for StaticParamType
impl Hash for StaticParamType
Source§impl PartialEq for StaticParamType
impl PartialEq for StaticParamType
impl Eq for StaticParamType
impl StructuralPartialEq for StaticParamType
Auto Trait Implementations§
impl Freeze for StaticParamType
impl !RefUnwindSafe for StaticParamType
impl !Send for StaticParamType
impl !Sync for StaticParamType
impl Unpin for StaticParamType
impl !UnwindSafe for StaticParamType
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