pub struct ImportBinding {
pub imported: String,
pub local: String,
pub namespace: SymbolNamespace,
}Expand description
One name introduced by an import, in canonical source order.
Fields§
§imported: String§local: String§namespace: SymbolNamespaceTrait Implementations§
Source§impl Clone for ImportBinding
impl Clone for ImportBinding
Source§fn clone(&self) -> ImportBinding
fn clone(&self) -> ImportBinding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ImportBinding
impl Debug for ImportBinding
Source§impl<'de> Deserialize<'de> for ImportBinding
impl<'de> Deserialize<'de> for ImportBinding
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 Eq for ImportBinding
Source§impl Ord for ImportBinding
impl Ord for ImportBinding
Source§fn cmp(&self, other: &ImportBinding) -> Ordering
fn cmp(&self, other: &ImportBinding) -> Ordering
1.21.0 (const: unstable) · 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 ImportBinding
impl PartialEq for ImportBinding
Source§impl PartialOrd for ImportBinding
impl PartialOrd for ImportBinding
Source§impl Serialize for ImportBinding
impl Serialize for ImportBinding
impl StructuralPartialEq for ImportBinding
Auto Trait Implementations§
impl Freeze for ImportBinding
impl RefUnwindSafe for ImportBinding
impl Send for ImportBinding
impl Sync for ImportBinding
impl Unpin for ImportBinding
impl UnsafeUnpin for ImportBinding
impl UnwindSafe for ImportBinding
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