pub struct ImportTarget(/* private fields */);Expand description
A selected target for one declared import slot.
Implementations§
Source§impl ImportTarget
impl ImportTarget
Trait Implementations§
Source§impl Clone for ImportTarget
impl Clone for ImportTarget
Source§fn clone(&self) -> ImportTarget
fn clone(&self) -> ImportTarget
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 ImportTarget
impl Debug for ImportTarget
impl Eq for ImportTarget
Auto Trait Implementations§
impl !RefUnwindSafe for ImportTarget
impl !UnwindSafe for ImportTarget
impl Freeze for ImportTarget
impl Send for ImportTarget
impl Sync for ImportTarget
impl Unpin for ImportTarget
impl UnsafeUnpin for ImportTarget
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