pub enum ImportShape {
Resolved(Position, TupleShape),
Unresolved(PositionedItem<Rc<str>>),
}Variants§
Resolved(Position, TupleShape)
Unresolved(PositionedItem<Rc<str>>)
Trait Implementations§
Source§impl Clone for ImportShape
impl Clone for ImportShape
Source§fn clone(&self) -> ImportShape
fn clone(&self) -> ImportShape
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 ImportShape
impl Debug for ImportShape
Source§impl PartialEq for ImportShape
impl PartialEq for ImportShape
Source§fn eq(&self, other: &ImportShape) -> bool
fn eq(&self, other: &ImportShape) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ImportShape
Auto Trait Implementations§
impl !Send for ImportShape
impl !Sync for ImportShape
impl Freeze for ImportShape
impl RefUnwindSafe for ImportShape
impl Unpin for ImportShape
impl UnsafeUnpin for ImportShape
impl UnwindSafe for ImportShape
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