pub struct NormalizedTy {
pub base: BaseTy,
pub access: AccessMode,
}Expand description
Normalized ownership representation used by checker and lowering boundaries.
Fields§
§base: BaseTyBase type identity.
access: AccessModeAccess intent for the base type.
Implementations§
Trait Implementations§
Source§impl Clone for NormalizedTy
impl Clone for NormalizedTy
Source§fn clone(&self) -> NormalizedTy
fn clone(&self) -> NormalizedTy
Returns a copy 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 Debug for NormalizedTy
impl Debug for NormalizedTy
Source§impl Display for NormalizedTy
impl Display for NormalizedTy
Source§impl Hash for NormalizedTy
impl Hash for NormalizedTy
Source§impl Ord for NormalizedTy
impl Ord for NormalizedTy
Source§fn cmp(&self, other: &NormalizedTy) -> Ordering
fn cmp(&self, other: &NormalizedTy) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NormalizedTy
impl PartialEq for NormalizedTy
Source§impl PartialOrd for NormalizedTy
impl PartialOrd for NormalizedTy
impl Eq for NormalizedTy
impl StructuralPartialEq for NormalizedTy
Auto Trait Implementations§
impl Freeze for NormalizedTy
impl RefUnwindSafe for NormalizedTy
impl Send for NormalizedTy
impl Sync for NormalizedTy
impl Unpin for NormalizedTy
impl UnwindSafe for NormalizedTy
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