[−][src]Enum rustdoc_seeker::TypeItem
TypeItem represent an item with type,
Use Display
or fmt_url
to get the type dot name
format of the item.
Example
assert_eq!("module.vec", TypeItme::Module("vec")); assert_eq!("macro.vec", TypeItme::Macro("vec")); assert_eq!("fn.vec", TypeItme::Function("vec")); // the only two exceptions assert_eq!("type.vec", TypeItme::Typedef("vec")); // the only two exceptions
Variants
Module(Atom)
ExternCrate(Atom)
Import(Atom)
Struct(Atom)
Enum(Atom)
Function(Atom)
Typedef(Atom)
Static(Atom)
Trait(Atom)
Impl(Atom)
TyMethod(Atom)
Method(Atom)
StructField(Atom)
Variant(Atom)
Macro(Atom)
Primitive(Atom)
AssociatedType(Atom)
Constant(Atom)
AssociatedConst(Atom)
Union(Atom)
ForeignType(Atom)
Keyword(Atom)
Existential(Atom)
Methods
impl TypeItem
[src]
Trait Implementations
impl AsRef<Atom<EmptyStaticAtomSet>> for TypeItem
[src]
impl Clone for TypeItem
[src]
impl Debug for TypeItem
[src]
impl Display for TypeItem
[src]
impl Eq for TypeItem
[src]
impl PartialEq<TypeItem> for TypeItem
[src]
impl StructuralEq for TypeItem
[src]
impl StructuralPartialEq for TypeItem
[src]
Auto Trait Implementations
impl RefUnwindSafe for TypeItem
impl Send for TypeItem
impl Sync for TypeItem
impl Unpin for TypeItem
impl UnwindSafe for TypeItem
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,