pub struct UnionSetList {
pub ptr: uintptr_t,
pub should_free_on_drop: bool,
}
Expand description
Wraps isl_union_set_list
.
Fields§
§ptr: uintptr_t
§should_free_on_drop: bool
Implementations§
Source§impl UnionSetList
impl UnionSetList
Sourcepub fn n_union_set(&self) -> i32
pub fn n_union_set(&self) -> i32
Wraps isl_union_set_list_n_union_set
.
Sourcepub fn copy(&self) -> UnionSetList
pub fn copy(&self) -> UnionSetList
Wraps isl_union_set_list_copy
.
Sourcepub fn add(self, el: UnionSet) -> UnionSetList
pub fn add(self, el: UnionSet) -> UnionSetList
Wraps isl_union_set_list_add
.
Sourcepub fn drop(self, first: u32, n: u32) -> UnionSetList
pub fn drop(self, first: u32, n: u32) -> UnionSetList
Wraps isl_union_set_list_drop
.
Sourcepub fn reverse(self) -> UnionSetList
pub fn reverse(self) -> UnionSetList
Wraps isl_union_set_list_reverse
.
Sourcepub fn set_union_set(self, index: i32, el: UnionSet) -> UnionSetList
pub fn set_union_set(self, index: i32, el: UnionSet) -> UnionSetList
Wraps isl_union_set_list_set_union_set
.
Sourcepub fn from_union_set(el: UnionSet) -> UnionSetList
pub fn from_union_set(el: UnionSet) -> UnionSetList
Wraps isl_union_set_list_from_union_set
.
Sourcepub fn concat(self, list2: UnionSetList) -> UnionSetList
pub fn concat(self, list2: UnionSetList) -> UnionSetList
Wraps isl_union_set_list_concat
.
Sourcepub fn swap(self, pos1: u32, pos2: u32) -> UnionSetList
pub fn swap(self, pos1: u32, pos2: u32) -> UnionSetList
Wraps isl_union_set_list_swap
.
Sourcepub fn alloc(ctx: &Context, n: i32) -> UnionSetList
pub fn alloc(ctx: &Context, n: i32) -> UnionSetList
Wraps isl_union_set_list_alloc
.
Sourcepub fn set_at(self, index: i32, el: UnionSet) -> UnionSetList
pub fn set_at(self, index: i32, el: UnionSet) -> UnionSetList
Wraps isl_union_set_list_set_at
.
Sourcepub fn free(self) -> UnionSetList
pub fn free(self) -> UnionSetList
Wraps isl_union_set_list_free
.
Sourcepub fn insert(self, pos: u32, el: UnionSet) -> UnionSetList
pub fn insert(self, pos: u32, el: UnionSet) -> UnionSetList
Wraps isl_union_set_list_insert
.
Sourcepub fn read_from_str(ctx: &Context, str_: &str) -> UnionSetList
pub fn read_from_str(ctx: &Context, str_: &str) -> UnionSetList
Wraps isl_union_set_list_read_from_str
.
Sourcepub fn get_union_set(&self, index: i32) -> UnionSet
pub fn get_union_set(&self, index: i32) -> UnionSet
Wraps isl_union_set_list_get_union_set
.
Sourcepub fn clear(self) -> UnionSetList
pub fn clear(self) -> UnionSetList
Wraps isl_union_set_list_clear
.
Sourcepub fn do_not_free_on_drop(&mut self)
pub fn do_not_free_on_drop(&mut self)
Does not call isl_union_set_list_free() on being dropped. (For internal use only.)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UnionSetList
impl RefUnwindSafe for UnionSetList
impl Send for UnionSetList
impl Sync for UnionSetList
impl Unpin for UnionSetList
impl UnwindSafe for UnionSetList
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