pub struct Point {
pub ptr: uintptr_t,
pub should_free_on_drop: bool,
}Expand description
Wraps isl_point.
Fields§
§ptr: uintptr_t§should_free_on_drop: boolImplementations§
Source§impl Point
impl Point
Sourcepub fn add_ui(
self,
type_: DimType,
pos: i32,
val: u32,
) -> Result<Point, LibISLError>
pub fn add_ui( self, type_: DimType, pos: i32, val: u32, ) -> Result<Point, LibISLError>
Wraps isl_point_add_ui.
Sourcepub fn copy(&self) -> Result<Point, LibISLError>
pub fn copy(&self) -> Result<Point, LibISLError>
Wraps isl_point_copy.
Sourcepub fn dump(&self) -> Result<(), LibISLError>
pub fn dump(&self) -> Result<(), LibISLError>
Wraps isl_point_dump.
Sourcepub fn free(self) -> Result<Point, LibISLError>
pub fn free(self) -> Result<Point, LibISLError>
Wraps isl_point_free.
Sourcepub fn get_coordinate_val(
&self,
type_: DimType,
pos: i32,
) -> Result<Val, LibISLError>
pub fn get_coordinate_val( &self, type_: DimType, pos: i32, ) -> Result<Val, LibISLError>
Wraps isl_point_get_coordinate_val.
Sourcepub fn get_multi_val(&self) -> Result<MultiVal, LibISLError>
pub fn get_multi_val(&self) -> Result<MultiVal, LibISLError>
Wraps isl_point_get_multi_val.
Sourcepub fn get_space(&self) -> Result<Space, LibISLError>
pub fn get_space(&self) -> Result<Space, LibISLError>
Wraps isl_point_get_space.
Sourcepub fn is_void(&self) -> Result<bool, LibISLError>
pub fn is_void(&self) -> Result<bool, LibISLError>
Wraps isl_point_is_void.
Sourcepub fn set_coordinate_val(
self,
type_: DimType,
pos: i32,
v: Val,
) -> Result<Point, LibISLError>
pub fn set_coordinate_val( self, type_: DimType, pos: i32, v: Val, ) -> Result<Point, LibISLError>
Wraps isl_point_set_coordinate_val.
Sourcepub fn sub_ui(
self,
type_: DimType,
pos: i32,
val: u32,
) -> Result<Point, LibISLError>
pub fn sub_ui( self, type_: DimType, pos: i32, val: u32, ) -> Result<Point, LibISLError>
Wraps isl_point_sub_ui.
Sourcepub fn to_set(self) -> Result<Set, LibISLError>
pub fn to_set(self) -> Result<Set, LibISLError>
Wraps isl_point_to_set.
Sourcepub fn to_str(&self) -> Result<&str, LibISLError>
pub fn to_str(&self) -> Result<&str, LibISLError>
Wraps isl_point_to_str.
Sourcepub fn do_not_free_on_drop(&mut self)
pub fn do_not_free_on_drop(&mut self)
Does not call isl_point_free() on being dropped. (For internal use only.)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Point
impl RefUnwindSafe for Point
impl Send for Point
impl Sync for Point
impl Unpin for Point
impl UnwindSafe for Point
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