pub struct IdList {
pub ptr: uintptr_t,
pub should_free_on_drop: bool,
}Expand description
Wraps isl_id_list.
Fields§
§ptr: uintptr_t§should_free_on_drop: boolImplementations§
Source§impl IdList
impl IdList
Sourcepub fn clear(self) -> Result<IdList, LibISLError>
pub fn clear(self) -> Result<IdList, LibISLError>
Wraps isl_id_list_clear.
Sourcepub fn copy(&self) -> Result<IdList, LibISLError>
pub fn copy(&self) -> Result<IdList, LibISLError>
Wraps isl_id_list_copy.
Sourcepub fn dump(&self) -> Result<(), LibISLError>
pub fn dump(&self) -> Result<(), LibISLError>
Wraps isl_id_list_dump.
Sourcepub fn free(self) -> Result<IdList, LibISLError>
pub fn free(self) -> Result<IdList, LibISLError>
Wraps isl_id_list_free.
Sourcepub fn n_id(&self) -> Result<i32, LibISLError>
pub fn n_id(&self) -> Result<i32, LibISLError>
Wraps isl_id_list_n_id.
Sourcepub fn read_from_str(ctx: &Context, str_: &str) -> Result<IdList, LibISLError>
pub fn read_from_str(ctx: &Context, str_: &str) -> Result<IdList, LibISLError>
Wraps isl_id_list_read_from_str.
Sourcepub fn reverse(self) -> Result<IdList, LibISLError>
pub fn reverse(self) -> Result<IdList, LibISLError>
Wraps isl_id_list_reverse.
Sourcepub fn set_at(self, index: i32, el: Id) -> Result<IdList, LibISLError>
pub fn set_at(self, index: i32, el: Id) -> Result<IdList, LibISLError>
Wraps isl_id_list_set_at.
Sourcepub fn set_id(self, index: i32, el: Id) -> Result<IdList, LibISLError>
pub fn set_id(self, index: i32, el: Id) -> Result<IdList, LibISLError>
Wraps isl_id_list_set_id.
Sourcepub fn size(&self) -> Result<i32, LibISLError>
pub fn size(&self) -> Result<i32, LibISLError>
Wraps isl_id_list_size.
Sourcepub fn to_str(&self) -> Result<&str, LibISLError>
pub fn to_str(&self) -> Result<&str, LibISLError>
Wraps isl_id_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_id_list_free() on being dropped. (For internal use only.)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IdList
impl RefUnwindSafe for IdList
impl Send for IdList
impl Sync for IdList
impl Unpin for IdList
impl UnwindSafe for IdList
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