pub struct RetAlias {
pub left_index: usize,
pub left_field_seq: Vec<usize>,
pub left_may_drop: bool,
pub left_need_drop: bool,
pub right_index: usize,
pub right_field_seq: Vec<usize>,
pub right_may_drop: bool,
pub right_need_drop: bool,
}
Fields§
§left_index: usize
§left_field_seq: Vec<usize>
§left_may_drop: bool
§left_need_drop: bool
§right_index: usize
§right_field_seq: Vec<usize>
§right_may_drop: bool
§right_need_drop: bool
Implementations§
source§impl RetAlias
impl RetAlias
pub fn new( left_index: usize, left_may_drop: bool, left_need_drop: bool, right_index: usize, right_may_drop: bool, right_need_drop: bool, ) -> RetAlias
fn get_index(index: usize, fields: &[usize], field_sensitive: bool) -> String
fn lhs_str(&self, field_sensitive: bool) -> String
fn rhs_str(&self, field_sensitive: bool) -> String
pub fn valuable(&self) -> bool
Trait Implementations§
impl Eq for RetAlias
impl StructuralPartialEq for RetAlias
Auto Trait Implementations§
impl Freeze for RetAlias
impl RefUnwindSafe for RetAlias
impl Send for RetAlias
impl Sync for RetAlias
impl Unpin for RetAlias
impl UnwindSafe for RetAlias
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.