pub struct TypeAliasItem<'a> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<'a> Clone for TypeAliasItem<'a>
impl<'a> Clone for TypeAliasItem<'a>
Source§fn clone(&self) -> TypeAliasItem<'a>
fn clone(&self) -> TypeAliasItem<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> CrateItem<'a> for TypeAliasItem<'a>
impl<'a> CrateItem<'a> for TypeAliasItem<'a>
type Inner = TypeAlias
fn downcast(inner: &ItemEnum) -> Option<&Self::Inner>
fn new(krate: &'a Crate, item: &'a Item, type_alias: &'a Self::Inner) -> Self
fn item(&self) -> &'a Item
fn inner(&self) -> &'a Self::Inner
fn krate(&self) -> &'a Crate
fn is_public(&self) -> bool
fn is_crate_item(&self) -> bool
fn is_root_item(&self) -> bool
fn is_external_item(&self) -> bool
fn id(&'a self) -> &'a Id
fn module(&self) -> Option<ModuleItem<'a>>
Source§impl<'a> Debug for TypeAliasItem<'a>
impl<'a> Debug for TypeAliasItem<'a>
Source§impl<'a> PartialEq for TypeAliasItem<'a>
impl<'a> PartialEq for TypeAliasItem<'a>
impl<'a> Copy for TypeAliasItem<'a>
impl<'a> Eq for TypeAliasItem<'a>
impl<'a> StructuralPartialEq for TypeAliasItem<'a>
Auto Trait Implementations§
impl<'a> Freeze for TypeAliasItem<'a>
impl<'a> RefUnwindSafe for TypeAliasItem<'a>
impl<'a> Send for TypeAliasItem<'a>
impl<'a> Sync for TypeAliasItem<'a>
impl<'a> Unpin for TypeAliasItem<'a>
impl<'a> UnwindSafe for TypeAliasItem<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.