pub struct FinalArrow {
pub source: Arc<Final>,
pub target: Arc<Final>,
}
Expand description
A container for the type data associated with an expression’s source and target types, if both types are complete.
Fields§
§source: Arc<Final>
The source type
target: Arc<Final>
The target type
Implementations§
Source§impl FinalArrow
impl FinalArrow
Sourcepub fn shallow_clone(&self) -> Self
pub fn shallow_clone(&self) -> Self
Same as Self::clone
but named to make it clearer that this is cheap
Trait Implementations§
Source§impl Clone for FinalArrow
impl Clone for FinalArrow
Source§fn clone(&self) -> FinalArrow
fn clone(&self) -> FinalArrow
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 Debug for FinalArrow
impl Debug for FinalArrow
Source§impl Display for FinalArrow
impl Display for FinalArrow
Source§impl Hash for FinalArrow
impl Hash for FinalArrow
Source§impl Ord for FinalArrow
impl Ord for FinalArrow
Source§fn cmp(&self, other: &FinalArrow) -> Ordering
fn cmp(&self, other: &FinalArrow) -> 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 FinalArrow
impl PartialEq for FinalArrow
Source§impl PartialOrd for FinalArrow
impl PartialOrd for FinalArrow
impl Eq for FinalArrow
impl StructuralPartialEq for FinalArrow
Auto Trait Implementations§
impl Freeze for FinalArrow
impl RefUnwindSafe for FinalArrow
impl Send for FinalArrow
impl Sync for FinalArrow
impl Unpin for FinalArrow
impl UnwindSafe for FinalArrow
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