pub struct RefOp<'tcx, T: IntervalArithmetic + ConstConvert + Debug> {
pub intersect: IntervalType<'tcx, T>,
pub sink: &'tcx Place<'tcx>,
pub inst: &'tcx Statement<'tcx>,
pub source: &'tcx Place<'tcx>,
pub borrowkind: BorrowKind,
}Fields§
§intersect: IntervalType<'tcx, T>§sink: &'tcx Place<'tcx>§inst: &'tcx Statement<'tcx>§source: &'tcx Place<'tcx>§borrowkind: BorrowKindImplementations§
Source§impl<'tcx, T: IntervalArithmetic + ConstConvert + Debug> RefOp<'tcx, T>
impl<'tcx, T: IntervalArithmetic + ConstConvert + Debug> RefOp<'tcx, T>
Trait Implementations§
Source§impl<'tcx, T: Clone + IntervalArithmetic + ConstConvert + Debug> Clone for RefOp<'tcx, T>
impl<'tcx, T: Clone + IntervalArithmetic + ConstConvert + Debug> Clone for RefOp<'tcx, T>
Auto Trait Implementations§
impl<'tcx, T> Freeze for RefOp<'tcx, T>where
T: Freeze,
impl<'tcx, T> !RefUnwindSafe for RefOp<'tcx, T>
impl<'tcx, T> Send for RefOp<'tcx, T>where
T: Send,
impl<'tcx, T> Sync for RefOp<'tcx, T>where
T: Sync,
impl<'tcx, T> Unpin for RefOp<'tcx, T>where
T: Unpin,
impl<'tcx, T> !UnwindSafe for RefOp<'tcx, T>
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more