pub enum CaptureType {
Import,
Export,
}Expand description
The type of a captured import or export for a Expression::Remap instruction
Variants§
Import
Capture an import for the remap instructions
Export
Capture an export for the remap instructions
Trait Implementations§
Source§impl Clone for CaptureType
impl Clone for CaptureType
impl Copy for CaptureType
Source§impl Debug for CaptureType
impl Debug for CaptureType
Source§impl<'de> Deserialize<'de> for CaptureType
impl<'de> Deserialize<'de> for CaptureType
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 CaptureType
Source§impl PartialEq for CaptureType
impl PartialEq for CaptureType
Source§impl Serialize for CaptureType
impl Serialize for CaptureType
impl StructuralPartialEq for CaptureType
Auto Trait Implementations§
impl Freeze for CaptureType
impl RefUnwindSafe for CaptureType
impl Send for CaptureType
impl Sync for CaptureType
impl Unpin for CaptureType
impl UnsafeUnpin for CaptureType
impl UnwindSafe for CaptureType
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