pub struct ImportStmt {
pub items: Vec<ImportItem>,
pub source: SmolStr,
pub span: Span,
}Fields§
§items: Vec<ImportItem>§source: SmolStr§span: SpanTrait Implementations§
Source§impl Clone for ImportStmt
impl Clone for ImportStmt
Source§fn clone(&self) -> ImportStmt
fn clone(&self) -> ImportStmt
Returns a duplicate 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 ImportStmt
impl Debug for ImportStmt
Source§impl<'de> Deserialize<'de> for ImportStmt
impl<'de> Deserialize<'de> for ImportStmt
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 ImportStmt
impl PartialEq for ImportStmt
Source§impl Serialize for ImportStmt
impl Serialize for ImportStmt
impl StructuralPartialEq for ImportStmt
Auto Trait Implementations§
impl Freeze for ImportStmt
impl RefUnwindSafe for ImportStmt
impl Send for ImportStmt
impl Sync for ImportStmt
impl Unpin for ImportStmt
impl UnwindSafe for ImportStmt
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