Struct rustdoc_types::Trait
source · pub struct Trait {
pub is_auto: bool,
pub is_unsafe: bool,
pub items: Vec<Id>,
pub generics: Generics,
pub bounds: Vec<GenericBound>,
pub implementations: Vec<Id>,
}
Fields§
§is_auto: bool
§is_unsafe: bool
§items: Vec<Id>
§generics: Generics
§bounds: Vec<GenericBound>
§implementations: Vec<Id>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Trait
impl<'de> Deserialize<'de> for Trait
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
source§impl PartialEq<Trait> for Trait
impl PartialEq<Trait> for Trait
impl Eq for Trait
impl StructuralEq for Trait
impl StructuralPartialEq for Trait
Auto Trait Implementations§
impl RefUnwindSafe for Trait
impl Send for Trait
impl Sync for Trait
impl Unpin for Trait
impl UnwindSafe for Trait
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