pub struct Val {
pub ptr: uintptr_t,
pub should_free_on_drop: bool,
}
Expand description
Wraps isl_val
.
Fields§
§ptr: uintptr_t
§should_free_on_drop: bool
Implementations§
Source§impl Val
impl Val
Sourcepub fn get_den_val(&self) -> Val
pub fn get_den_val(&self) -> Val
Wraps isl_val_get_den_val
.
Sourcepub fn list_get_at(list: &ValList, index: i32) -> Val
pub fn list_get_at(list: &ValList, index: i32) -> Val
Wraps isl_val_list_get_at
.
Sourcepub fn get_den_si(&self) -> i64
pub fn get_den_si(&self) -> i64
Wraps isl_val_get_den_si
.
Sourcepub fn int_from_ui(ctx: &Context, u: u64) -> Val
pub fn int_from_ui(ctx: &Context, u: u64) -> Val
Wraps isl_val_int_from_ui
.
Sourcepub fn n_abs_num_chunks(&self, size: usize) -> i32
pub fn n_abs_num_chunks(&self, size: usize) -> i32
Wraps isl_val_n_abs_num_chunks
.
Sourcepub fn list_n_val(list: &ValList) -> i32
pub fn list_n_val(list: &ValList) -> i32
Wraps isl_val_list_n_val
.
Sourcepub fn list_read_from_str(ctx: &Context, str_: &str) -> ValList
pub fn list_read_from_str(ctx: &Context, str_: &str) -> ValList
Wraps isl_val_list_read_from_str
.
Sourcepub fn list_concat(list1: ValList, list2: ValList) -> ValList
pub fn list_concat(list1: ValList, list2: ValList) -> ValList
Wraps isl_val_list_concat
.
Sourcepub fn list_clear(list: ValList) -> ValList
pub fn list_clear(list: ValList) -> ValList
Wraps isl_val_list_clear
.
Sourcepub fn int_from_si(ctx: &Context, i: i64) -> Val
pub fn int_from_si(ctx: &Context, i: i64) -> Val
Wraps isl_val_int_from_si
.
Sourcepub fn list_to_str(list: &ValList) -> &str
pub fn list_to_str(list: &ValList) -> &str
Wraps isl_val_list_to_str
.
Sourcepub fn list_get_ctx(list: &ValList) -> Context
pub fn list_get_ctx(list: &ValList) -> Context
Wraps isl_val_list_get_ctx
.
Sourcepub fn list_reverse(list: ValList) -> ValList
pub fn list_reverse(list: ValList) -> ValList
Wraps isl_val_list_reverse
.
Sourcepub fn is_divisible_by(&self, v2: &Val) -> bool
pub fn is_divisible_by(&self, v2: &Val) -> bool
Wraps isl_val_is_divisible_by
.
Sourcepub fn read_from_str(ctx: &Context, str_: &str) -> Val
pub fn read_from_str(ctx: &Context, str_: &str) -> Val
Wraps isl_val_read_from_str
.
Sourcepub fn get_num_si(&self) -> i64
pub fn get_num_si(&self) -> i64
Wraps isl_val_get_num_si
.
Sourcepub fn is_neginfty(&self) -> bool
pub fn is_neginfty(&self) -> bool
Wraps isl_val_is_neginfty
.
Sourcepub fn list_get_val(list: &ValList, index: i32) -> Val
pub fn list_get_val(list: &ValList, index: i32) -> Val
Wraps isl_val_list_get_val
.
Sourcepub fn list_from_val(self) -> ValList
pub fn list_from_val(self) -> ValList
Wraps isl_val_list_from_val
.
Sourcepub fn list_alloc(ctx: &Context, n: i32) -> ValList
pub fn list_alloc(ctx: &Context, n: i32) -> ValList
Wraps isl_val_list_alloc
.
Sourcepub fn do_not_free_on_drop(&mut self)
pub fn do_not_free_on_drop(&mut self)
Does not call isl_val_free() on being dropped. (For internal use only.)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Val
impl RefUnwindSafe for Val
impl Send for Val
impl Sync for Val
impl Unpin for Val
impl UnwindSafe for Val
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