pub struct Cell {
pub ptr: uintptr_t,
pub should_free_on_drop: bool,
}Expand description
Wraps isl_cell.
Fields§
§ptr: uintptr_t§should_free_on_drop: boolImplementations§
Source§impl Cell
impl Cell
Sourcepub fn free(self) -> Result<Cell, LibISLError>
pub fn free(self) -> Result<Cell, LibISLError>
Wraps isl_cell_free.
Sourcepub fn get_domain(&self) -> Result<BasicSet, LibISLError>
pub fn get_domain(&self) -> Result<BasicSet, LibISLError>
Wraps isl_cell_get_domain.
Sourcepub fn do_not_free_on_drop(&mut self)
pub fn do_not_free_on_drop(&mut self)
Does not call isl_cell_free() on being dropped. (For internal use only.)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Cell
impl RefUnwindSafe for Cell
impl Send for Cell
impl Sync for Cell
impl Unpin for Cell
impl UnwindSafe for Cell
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