pub struct TypePath {
pub segments: Vec<Ident>,
pub generic_args: Option<GenericArgs>,
pub span: Span,
}Expand description
A type path: uint256, address, MyContract
Fields§
§segments: Vec<Ident>§generic_args: Option<GenericArgs>§span: SpanImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TypePath
impl<'de> Deserialize<'de> for TypePath
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
impl StructuralPartialEq for TypePath
Auto Trait Implementations§
impl Freeze for TypePath
impl RefUnwindSafe for TypePath
impl Send for TypePath
impl Sync for TypePath
impl Unpin for TypePath
impl UnwindSafe for TypePath
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