pub struct MapList {
pub ptr: uintptr_t,
pub should_free_on_drop: bool,
}Expand description
Wraps isl_map_list.
Fields§
§ptr: uintptr_t§should_free_on_drop: boolImplementations§
Source§impl MapList
impl MapList
Sourcepub fn clear(self) -> Result<MapList, LibISLError>
pub fn clear(self) -> Result<MapList, LibISLError>
Wraps isl_map_list_clear.
Sourcepub fn copy(&self) -> Result<MapList, LibISLError>
pub fn copy(&self) -> Result<MapList, LibISLError>
Wraps isl_map_list_copy.
Sourcepub fn dump(&self) -> Result<(), LibISLError>
pub fn dump(&self) -> Result<(), LibISLError>
Wraps isl_map_list_dump.
Sourcepub fn free(self) -> Result<MapList, LibISLError>
pub fn free(self) -> Result<MapList, LibISLError>
Wraps isl_map_list_free.
Sourcepub fn insert(self, pos: u32, el: Map) -> Result<MapList, LibISLError>
pub fn insert(self, pos: u32, el: Map) -> Result<MapList, LibISLError>
Wraps isl_map_list_insert.
Sourcepub fn n_map(&self) -> Result<i32, LibISLError>
pub fn n_map(&self) -> Result<i32, LibISLError>
Wraps isl_map_list_n_map.
Sourcepub fn read_from_str(ctx: &Context, str_: &str) -> Result<MapList, LibISLError>
pub fn read_from_str(ctx: &Context, str_: &str) -> Result<MapList, LibISLError>
Wraps isl_map_list_read_from_str.
Sourcepub fn reverse(self) -> Result<MapList, LibISLError>
pub fn reverse(self) -> Result<MapList, LibISLError>
Wraps isl_map_list_reverse.
Sourcepub fn set_at(self, index: i32, el: Map) -> Result<MapList, LibISLError>
pub fn set_at(self, index: i32, el: Map) -> Result<MapList, LibISLError>
Wraps isl_map_list_set_at.
Sourcepub fn set_map(self, index: i32, el: Map) -> Result<MapList, LibISLError>
pub fn set_map(self, index: i32, el: Map) -> Result<MapList, LibISLError>
Wraps isl_map_list_set_map.
Sourcepub fn size(&self) -> Result<i32, LibISLError>
pub fn size(&self) -> Result<i32, LibISLError>
Wraps isl_map_list_size.
Sourcepub fn swap(self, pos1: u32, pos2: u32) -> Result<MapList, LibISLError>
pub fn swap(self, pos1: u32, pos2: u32) -> Result<MapList, LibISLError>
Wraps isl_map_list_swap.
Sourcepub fn to_str(&self) -> Result<&str, LibISLError>
pub fn to_str(&self) -> Result<&str, LibISLError>
Wraps isl_map_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_map_list_free() on being dropped. (For internal use only.)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MapList
impl RefUnwindSafe for MapList
impl Send for MapList
impl Sync for MapList
impl Unpin for MapList
impl UnwindSafe for MapList
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