pub struct Touch {
pub effect: Effect,
pub escapes: bool,
}Expand description
What a function does to the object one parameter points at.
Fields§
§effect: EffectWhat happens to the bytes.
escapes: boolWhether the address itself ends up somewhere the caller cannot see, which is what stops the caller reasoning about the object after the call returns.
Implementations§
Source§impl Touch
impl Touch
Sourcepub fn everything() -> Self
pub fn everything() -> Self
Written and kept, which is what an unknown callee does to what it is handed.
Sourcepub fn as_well_as(self, other: Self) -> Self
pub fn as_well_as(self, other: Self) -> Self
Both of these are true of the same parameter, so the tighter one is.
Trait Implementations§
impl Copy for Touch
impl Eq for Touch
impl StructuralPartialEq for Touch
Auto Trait Implementations§
impl Freeze for Touch
impl RefUnwindSafe for Touch
impl Send for Touch
impl Sync for Touch
impl Unpin for Touch
impl UnsafeUnpin for Touch
impl UnwindSafe for Touch
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