pub struct ImportedName {
pub module: String,
pub name: String,
pub alias: Option<String>,
}
Fields§
§module: String
§name: String
§alias: Option<String>
Trait Implementations§
Source§impl Clone for ImportedName
impl Clone for ImportedName
Source§fn clone(&self) -> ImportedName
fn clone(&self) -> ImportedName
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 ImportedName
impl Debug for ImportedName
Source§impl From<ImportedName> for Name
impl From<ImportedName> for Name
Source§fn from(value: ImportedName) -> Name
fn from(value: ImportedName) -> Name
Converts to this type from the input type.
Source§impl From<ImportedName> for Variable
impl From<ImportedName> for Variable
Source§fn from(value: ImportedName) -> Variable
fn from(value: ImportedName) -> Variable
Converts to this type from the input type.
Source§impl Ord for ImportedName
impl Ord for ImportedName
Source§fn cmp(&self, other: &ImportedName) -> Ordering
fn cmp(&self, other: &ImportedName) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ImportedName
impl PartialEq for ImportedName
Source§impl PartialOrd for ImportedName
impl PartialOrd for ImportedName
impl Eq for ImportedName
impl StructuralPartialEq for ImportedName
Auto Trait Implementations§
impl Freeze for ImportedName
impl RefUnwindSafe for ImportedName
impl Send for ImportedName
impl Sync for ImportedName
impl Unpin for ImportedName
impl UnwindSafe for ImportedName
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