Enum rustdoc_index::doc::ParentType
source · [−]#[repr(u8)]
pub enum ParentType {
Struct,
Enum,
Typedef,
Trait,
Variant,
Primitive,
Union,
}
Variants
Struct
Enum
Typedef
Trait
Variant
Primitive
Union
Trait Implementations
sourceimpl Debug for ParentType
impl Debug for ParentType
sourceimpl<'de> Deserialize<'de> for ParentType
impl<'de> Deserialize<'de> for ParentType
sourcefn 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
Auto Trait Implementations
impl RefUnwindSafe for ParentType
impl Send for ParentType
impl Sync for ParentType
impl Unpin for ParentType
impl UnwindSafe for ParentType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more