pub struct AffList {
pub ptr: uintptr_t,
pub should_free_on_drop: bool,
}Expand description
Wraps isl_aff_list.
Fields§
§ptr: uintptr_t§should_free_on_drop: boolImplementations§
Source§impl AffList
impl AffList
Sourcepub fn clear(self) -> Result<AffList, LibISLError>
pub fn clear(self) -> Result<AffList, LibISLError>
Wraps isl_aff_list_clear.
Sourcepub fn copy(&self) -> Result<AffList, LibISLError>
pub fn copy(&self) -> Result<AffList, LibISLError>
Wraps isl_aff_list_copy.
Sourcepub fn dump(&self) -> Result<(), LibISLError>
pub fn dump(&self) -> Result<(), LibISLError>
Wraps isl_aff_list_dump.
Sourcepub fn free(self) -> Result<AffList, LibISLError>
pub fn free(self) -> Result<AffList, LibISLError>
Wraps isl_aff_list_free.
Sourcepub fn insert(self, pos: u32, el: Aff) -> Result<AffList, LibISLError>
pub fn insert(self, pos: u32, el: Aff) -> Result<AffList, LibISLError>
Wraps isl_aff_list_insert.
Sourcepub fn n_aff(&self) -> Result<i32, LibISLError>
pub fn n_aff(&self) -> Result<i32, LibISLError>
Wraps isl_aff_list_n_aff.
Sourcepub fn read_from_str(ctx: &Context, str_: &str) -> Result<AffList, LibISLError>
pub fn read_from_str(ctx: &Context, str_: &str) -> Result<AffList, LibISLError>
Wraps isl_aff_list_read_from_str.
Sourcepub fn reverse(self) -> Result<AffList, LibISLError>
pub fn reverse(self) -> Result<AffList, LibISLError>
Wraps isl_aff_list_reverse.
Sourcepub fn set_aff(self, index: i32, el: Aff) -> Result<AffList, LibISLError>
pub fn set_aff(self, index: i32, el: Aff) -> Result<AffList, LibISLError>
Wraps isl_aff_list_set_aff.
Sourcepub fn set_at(self, index: i32, el: Aff) -> Result<AffList, LibISLError>
pub fn set_at(self, index: i32, el: Aff) -> Result<AffList, LibISLError>
Wraps isl_aff_list_set_at.
Sourcepub fn size(&self) -> Result<i32, LibISLError>
pub fn size(&self) -> Result<i32, LibISLError>
Wraps isl_aff_list_size.
Sourcepub fn swap(self, pos1: u32, pos2: u32) -> Result<AffList, LibISLError>
pub fn swap(self, pos1: u32, pos2: u32) -> Result<AffList, LibISLError>
Wraps isl_aff_list_swap.
Sourcepub fn to_str(&self) -> Result<&str, LibISLError>
pub fn to_str(&self) -> Result<&str, LibISLError>
Wraps isl_aff_list_to_str.
Sourcepub fn do_not_free_on_drop(&mut self)
pub fn do_not_free_on_drop(&mut self)
Does not call isl_aff_list_free() on being dropped. (For internal use only.)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AffList
impl RefUnwindSafe for AffList
impl Send for AffList
impl Sync for AffList
impl Unpin for AffList
impl UnwindSafe for AffList
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