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: bool
Implementations§
Source§impl Point
impl Point
Sourcepub fn get_coordinate_val(&self, type_: DimType, pos: i32) -> Val
pub fn get_coordinate_val(&self, type_: DimType, pos: i32) -> Val
Wraps isl_point_get_coordinate_val
.
Sourcepub fn set_coordinate_val(self, type_: DimType, pos: i32, v: Val) -> Point
pub fn set_coordinate_val(self, type_: DimType, pos: i32, v: Val) -> Point
Wraps isl_point_set_coordinate_val
.
Sourcepub fn do_not_free_on_drop(&mut self)
pub fn do_not_free_on_drop(&mut self)
Does not call isl_xxx_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