pub struct OwnershipLayoutResult {
layout: Vec<OwnedHeap>,
param: bool,
requirement: bool,
owned: bool,
}
Fields§
§layout: Vec<OwnedHeap>
§param: bool
§requirement: bool
§owned: bool
Implementations§
Source§impl OwnershipLayoutResult
impl OwnershipLayoutResult
pub fn new() -> Self
pub fn layout(&self) -> &Vec<OwnedHeap>
pub fn layout_mut(&mut self) -> &mut Vec<OwnedHeap>
pub fn get_param(&self) -> bool
pub fn set_param(&mut self, p: bool)
pub fn is_param_true(&self) -> bool
pub fn get_requirement(&self) -> bool
pub fn set_requirement(&mut self, r: bool)
pub fn is_requirement_true(&self) -> bool
pub fn is_empty(&self) -> bool
pub fn is_owned(&self) -> bool
pub fn set_owned(&mut self, o: bool)
pub fn update_from_default_heap_visitor<'tcx, 'a>( &mut self, default_heap: &mut DefaultOwnership<'tcx, 'a>, )
Trait Implementations§
Source§impl Clone for OwnershipLayoutResult
impl Clone for OwnershipLayoutResult
Source§fn clone(&self) -> OwnershipLayoutResult
fn clone(&self) -> OwnershipLayoutResult
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 moreAuto Trait Implementations§
impl Freeze for OwnershipLayoutResult
impl RefUnwindSafe for OwnershipLayoutResult
impl Send for OwnershipLayoutResult
impl Sync for OwnershipLayoutResult
impl Unpin for OwnershipLayoutResult
impl UnwindSafe for OwnershipLayoutResult
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