pub struct ImportStmt {
pub items: ImportItems,
pub from: String,
}Fields§
§items: ImportItems§from: StringTrait 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
Auto Trait Implementations§
impl Freeze for ImportStmt
impl RefUnwindSafe for ImportStmt
impl Send for ImportStmt
impl Sync for ImportStmt
impl Unpin for ImportStmt
impl UnsafeUnpin 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