Struct ra_ap_hir_def::TypeAliasId [−][src]
pub struct TypeAliasId(_);
Trait Implementations
impl Clone for TypeAliasId
[src]
impl Clone for TypeAliasId
[src]fn clone(&self) -> TypeAliasId
[src]
fn clone(&self) -> TypeAliasId
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for TypeAliasId
[src]
impl Debug for TypeAliasId
[src]impl From<TypeAliasId> for ModuleDefId
[src]
impl From<TypeAliasId> for ModuleDefId
[src]fn from(it: TypeAliasId) -> ModuleDefId
[src]
fn from(it: TypeAliasId) -> ModuleDefId
[src]Performs the conversion.
impl From<TypeAliasId> for AssocItemId
[src]
impl From<TypeAliasId> for AssocItemId
[src]fn from(it: TypeAliasId) -> AssocItemId
[src]
fn from(it: TypeAliasId) -> AssocItemId
[src]Performs the conversion.
impl From<TypeAliasId> for GenericDefId
[src]
impl From<TypeAliasId> for GenericDefId
[src]fn from(it: TypeAliasId) -> GenericDefId
[src]
fn from(it: TypeAliasId) -> GenericDefId
[src]Performs the conversion.
impl From<TypeAliasId> for AttrDefId
[src]
impl From<TypeAliasId> for AttrDefId
[src]fn from(it: TypeAliasId) -> AttrDefId
[src]
fn from(it: TypeAliasId) -> AttrDefId
[src]Performs the conversion.
impl HasResolver for TypeAliasId
[src]
impl HasResolver for TypeAliasId
[src]fn resolver(self, db: &dyn DefDatabase) -> Resolver
[src]
fn resolver(self, db: &dyn DefDatabase) -> Resolver
[src]Builds a resolver for type references inside this def.
impl Hash for TypeAliasId
[src]
impl Hash for TypeAliasId
[src]impl InternKey for TypeAliasId
[src]
impl InternKey for TypeAliasId
[src]fn from_intern_id(v: InternId) -> Self
[src]
fn from_intern_id(v: InternId) -> Self
[src]Create an instance of the intern-key from a u32
value.
fn as_intern_id(&self) -> InternId
[src]
fn as_intern_id(&self) -> InternId
[src]Extract the u32
with which the intern-key was created.
impl Lookup for TypeAliasId
[src]
impl Lookup for TypeAliasId
[src]type Data = AssocItemLoc<TypeAlias>
fn lookup(&self, db: &dyn DefDatabase) -> AssocItemLoc<TypeAlias>
[src]
impl PartialEq<TypeAliasId> for TypeAliasId
[src]
impl PartialEq<TypeAliasId> for TypeAliasId
[src]fn eq(&self, other: &TypeAliasId) -> bool
[src]
fn eq(&self, other: &TypeAliasId) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &TypeAliasId) -> bool
[src]
fn ne(&self, other: &TypeAliasId) -> bool
[src]This method tests for !=
.
impl Copy for TypeAliasId
[src]
impl Eq for TypeAliasId
[src]
impl StructuralEq for TypeAliasId
[src]
impl StructuralPartialEq for TypeAliasId
[src]
Auto Trait Implementations
impl RefUnwindSafe for TypeAliasId
impl Send for TypeAliasId
impl Sync for TypeAliasId
impl Unpin for TypeAliasId
impl UnwindSafe for TypeAliasId
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
pub fn equivalent(&self, key: &K) -> bool
[src]Compare self to key
and return true
if they are equal.
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> Any for T where
T: Any,
[src]
T: Any,
impl<T> CloneAny for T where
T: Any + Clone,
[src]
T: Any + Clone,