pub enum CaptureRef {
Import(ImportId),
Export(ExportId),
}
Variants§
Trait Implementations§
Source§impl Clone for CaptureRef
impl Clone for CaptureRef
Source§fn clone(&self) -> CaptureRef
fn clone(&self) -> CaptureRef
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 CaptureRef
impl Debug for CaptureRef
Source§impl PartialEq for CaptureRef
impl PartialEq for CaptureRef
impl StructuralPartialEq for CaptureRef
Auto Trait Implementations§
impl Freeze for CaptureRef
impl RefUnwindSafe for CaptureRef
impl Send for CaptureRef
impl Sync for CaptureRef
impl Unpin for CaptureRef
impl UnwindSafe for CaptureRef
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