pub struct SetList {
pub ptr: uintptr_t,
pub should_free_on_drop: bool,
}Expand description
Wraps isl_set_list.
Fields§
§ptr: uintptr_t§should_free_on_drop: boolImplementations§
Source§impl SetList
impl SetList
Sourcepub fn clear(self) -> Result<SetList, LibISLError>
pub fn clear(self) -> Result<SetList, LibISLError>
Wraps isl_set_list_clear.
Sourcepub fn copy(&self) -> Result<SetList, LibISLError>
pub fn copy(&self) -> Result<SetList, LibISLError>
Wraps isl_set_list_copy.
Sourcepub fn dump(&self) -> Result<(), LibISLError>
pub fn dump(&self) -> Result<(), LibISLError>
Wraps isl_set_list_dump.
Sourcepub fn free(self) -> Result<SetList, LibISLError>
pub fn free(self) -> Result<SetList, LibISLError>
Wraps isl_set_list_free.
Sourcepub fn insert(self, pos: u32, el: Set) -> Result<SetList, LibISLError>
pub fn insert(self, pos: u32, el: Set) -> Result<SetList, LibISLError>
Wraps isl_set_list_insert.
Sourcepub fn n_set(&self) -> Result<i32, LibISLError>
pub fn n_set(&self) -> Result<i32, LibISLError>
Wraps isl_set_list_n_set.
Sourcepub fn read_from_str(ctx: &Context, str_: &str) -> Result<SetList, LibISLError>
pub fn read_from_str(ctx: &Context, str_: &str) -> Result<SetList, LibISLError>
Wraps isl_set_list_read_from_str.
Sourcepub fn reverse(self) -> Result<SetList, LibISLError>
pub fn reverse(self) -> Result<SetList, LibISLError>
Wraps isl_set_list_reverse.
Sourcepub fn set_at(self, index: i32, el: Set) -> Result<SetList, LibISLError>
pub fn set_at(self, index: i32, el: Set) -> Result<SetList, LibISLError>
Wraps isl_set_list_set_at.
Sourcepub fn set_set(self, index: i32, el: Set) -> Result<SetList, LibISLError>
pub fn set_set(self, index: i32, el: Set) -> Result<SetList, LibISLError>
Wraps isl_set_list_set_set.
Sourcepub fn size(&self) -> Result<i32, LibISLError>
pub fn size(&self) -> Result<i32, LibISLError>
Wraps isl_set_list_size.
Sourcepub fn swap(self, pos1: u32, pos2: u32) -> Result<SetList, LibISLError>
pub fn swap(self, pos1: u32, pos2: u32) -> Result<SetList, LibISLError>
Wraps isl_set_list_swap.
Sourcepub fn to_str(&self) -> Result<&str, LibISLError>
pub fn to_str(&self) -> Result<&str, LibISLError>
Wraps isl_set_list_to_str.
Sourcepub fn union(self) -> Result<Set, LibISLError>
pub fn union(self) -> Result<Set, LibISLError>
Wraps isl_set_list_union.
Sourcepub fn do_not_free_on_drop(&mut self)
pub fn do_not_free_on_drop(&mut self)
Does not call isl_set_list_free() on being dropped. (For internal use only.)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SetList
impl RefUnwindSafe for SetList
impl Send for SetList
impl Sync for SetList
impl Unpin for SetList
impl UnwindSafe for SetList
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