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