[−][src]Enum rustdoc::clean::types::PrimitiveType
Variants
Implementations
impl PrimitiveType[src]
pub(crate) fn from_hir(prim: PrimTy) -> PrimitiveType[src]
pub(crate) fn from_symbol(s: Symbol) -> Option<PrimitiveType>[src]
pub(crate) fn as_str(&self) -> &'static str[src]
pub(crate) fn impls(&self, tcx: TyCtxt<'_>) -> &'static SmallVec<[DefId; 4]>[src]
pub(crate) fn all_impls(
tcx: TyCtxt<'_>
) -> &'static FxHashMap<PrimitiveType, SmallVec<[DefId; 4]>>[src]
tcx: TyCtxt<'_>
) -> &'static FxHashMap<PrimitiveType, SmallVec<[DefId; 4]>>
pub(crate) fn to_url_str(&self) -> &'static str[src]
Trait Implementations
impl Clone for PrimitiveType[src]
pub fn clone(&self) -> PrimitiveType[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for PrimitiveType[src]
impl Debug for PrimitiveType[src]
impl Eq for PrimitiveType[src]
impl From<FloatTy> for PrimitiveType[src]
pub fn from(float_ty: FloatTy) -> PrimitiveType[src]
impl From<IntTy> for PrimitiveType[src]
pub fn from(int_ty: IntTy) -> PrimitiveType[src]
impl From<PrimTy> for PrimitiveType[src]
pub fn from(prim_ty: PrimTy) -> PrimitiveType[src]
impl From<UintTy> for PrimitiveType[src]
pub fn from(uint_ty: UintTy) -> PrimitiveType[src]
impl Hash for PrimitiveType[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl PartialEq<PrimitiveType> for PrimitiveType[src]
pub fn eq(&self, other: &PrimitiveType) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl StructuralEq for PrimitiveType[src]
impl StructuralPartialEq for PrimitiveType[src]
Auto Trait Implementations
impl RefUnwindSafe for PrimitiveType
impl Send for PrimitiveType
impl Sync for PrimitiveType
impl Unpin for PrimitiveType
impl UnwindSafe for PrimitiveType
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,
pub 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.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
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.
pub 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,