[−][src]Struct ra_ap_hir::TypeAlias
Implementations
impl TypeAlias
[src]
pub fn has_non_default_type_params(self, db: &dyn HirDatabase) -> bool
[src]
pub fn module(self, db: &dyn HirDatabase) -> Module
[src]
pub fn krate(self, db: &dyn HirDatabase) -> Option<Crate>
[src]
pub fn type_ref(self, db: &dyn HirDatabase) -> Option<TypeRef>
[src]
pub fn ty(self, db: &dyn HirDatabase) -> Type
[src]
pub fn name(self, db: &dyn HirDatabase) -> Name
[src]
Trait Implementations
impl AsAssocItem for TypeAlias
[src]
fn as_assoc_item(self, db: &dyn HirDatabase) -> Option<AssocItem>
[src]
impl Clone for TypeAlias
[src]
impl Copy for TypeAlias
[src]
impl Debug for TypeAlias
[src]
impl Eq for TypeAlias
[src]
impl From<TypeAlias> for TypeAliasId
[src]
fn from(ty: TypeAlias) -> TypeAliasId
[src]
impl From<TypeAlias> for ModuleDef
[src]
impl From<TypeAlias> for GenericDef
[src]
fn from(it: TypeAlias) -> GenericDef
[src]
impl From<TypeAliasId> for TypeAlias
[src]
fn from(id: TypeAliasId) -> TypeAlias
[src]
impl HasAttrs for TypeAlias
[src]
fn attrs(self, db: &dyn HirDatabase) -> Attrs
[src]
fn docs(self, db: &dyn HirDatabase) -> Option<Documentation>
[src]
fn resolve_doc_path(
self,
db: &dyn HirDatabase,
link: &str,
ns: Option<Namespace>
) -> Option<ModuleDef>
[src]
self,
db: &dyn HirDatabase,
link: &str,
ns: Option<Namespace>
) -> Option<ModuleDef>
impl HasSource for TypeAlias
[src]
impl HasVisibility for TypeAlias
[src]
fn visibility(&self, db: &dyn HirDatabase) -> Visibility
[src]
fn is_visible_from(&self, db: &dyn HirDatabase, module: Module) -> bool
[src]
impl Hash for TypeAlias
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<TypeAlias> for TypeAlias
[src]
impl StructuralEq for TypeAlias
[src]
impl StructuralPartialEq for TypeAlias
[src]
Auto Trait Implementations
impl RefUnwindSafe for TypeAlias
impl Send for TypeAlias
impl Sync for TypeAlias
impl Unpin for TypeAlias
impl UnwindSafe for TypeAlias
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
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> Cast for T
fn cast<U>(self, interner: &<U as HasInterner>::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
Self: CastTo<U>,
U: HasInterner,
impl<T> CloneAny for T where
T: Clone + Any,
T: Clone + Any,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[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, 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>,