Enum rustc_lint_defs::ExternDepSpec
source · [−]Variants
Json(Json)
Raw(String)
Trait Implementations
sourceimpl Debug for ExternDepSpec
impl Debug for ExternDepSpec
sourceimpl PartialEq<ExternDepSpec> for ExternDepSpec
impl PartialEq<ExternDepSpec> for ExternDepSpec
sourcefn eq(&self, other: &ExternDepSpec) -> bool
fn eq(&self, other: &ExternDepSpec) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ExternDepSpec) -> bool
fn ne(&self, other: &ExternDepSpec) -> bool
This method tests for !=.
impl StructuralPartialEq for ExternDepSpec
Auto Trait Implementations
impl RefUnwindSafe for ExternDepSpec
impl Send for ExternDepSpec
impl Sync for ExternDepSpec
impl Unpin for ExternDepSpec
impl UnwindSafe for ExternDepSpec
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 40 bytes
Size for each variant:
Json: 32 bytesRaw: 24 bytes