Struct MultiId

Source
pub struct MultiId {
    pub ptr: uintptr_t,
    pub should_free_on_drop: bool,
}
Expand description

Wraps isl_multi_id.

Fields§

§ptr: uintptr_t§should_free_on_drop: bool

Implementations§

Source§

impl MultiId

Source

pub fn align_params(self, model: Space) -> MultiId

Wraps isl_multi_id_align_params.

Source

pub fn free(self) -> MultiId

Wraps isl_multi_id_free.

Source

pub fn set_id(self, pos: i32, el: Id) -> MultiId

Wraps isl_multi_id_set_id.

Source

pub fn get_list(&self) -> IdList

Wraps isl_multi_id_get_list.

Source

pub fn range_is_wrapping(&self) -> bool

Wraps isl_multi_id_range_is_wrapping.

Source

pub fn range_splice(self, pos: u32, multi2: MultiId) -> MultiId

Wraps isl_multi_id_range_splice.

Source

pub fn factor_range(self) -> MultiId

Wraps isl_multi_id_factor_range.

Source

pub fn get_ctx(&self) -> Context

Wraps isl_multi_id_get_ctx.

Source

pub fn from_range(self) -> MultiId

Wraps isl_multi_id_from_range.

Source

pub fn from_id_list(space: Space, list: IdList) -> MultiId

Wraps isl_multi_id_from_id_list.

Source

pub fn reset_user(self) -> MultiId

Wraps isl_multi_id_reset_user.

Source

pub fn read_from_str(ctx: &Context, str_: &str) -> MultiId

Wraps isl_multi_id_read_from_str.

Source

pub fn dump(&self)

Wraps isl_multi_id_dump.

Source

pub fn get_id(&self, pos: i32) -> Id

Wraps isl_multi_id_get_id.

Source

pub fn flatten_range(self) -> MultiId

Wraps isl_multi_id_flatten_range.

Source

pub fn to_str(&self) -> &str

Wraps isl_multi_id_to_str.

Source

pub fn range_factor_domain(self) -> MultiId

Wraps isl_multi_id_range_factor_domain.

Source

pub fn plain_is_equal(&self, multi2: &MultiId) -> bool

Wraps isl_multi_id_plain_is_equal.

Source

pub fn get_space(&self) -> Space

Wraps isl_multi_id_get_space.

Source

pub fn get_at(&self, pos: i32) -> Id

Wraps isl_multi_id_get_at.

Source

pub fn size(&self) -> i32

Wraps isl_multi_id_size.

Source

pub fn get_domain_space(&self) -> Space

Wraps isl_multi_id_get_domain_space.

Source

pub fn range_product(self, multi2: MultiId) -> MultiId

Wraps isl_multi_id_range_product.

Source

pub fn set_at(self, pos: i32, el: Id) -> MultiId

Wraps isl_multi_id_set_at.

Source

pub fn flat_range_product(self, multi2: MultiId) -> MultiId

Wraps isl_multi_id_flat_range_product.

Source

pub fn range_factor_range(self) -> MultiId

Wraps isl_multi_id_range_factor_range.

Source

pub fn copy(&self) -> MultiId

Wraps isl_multi_id_copy.

Source

pub fn do_not_free_on_drop(&mut self)

Does not call isl_multi_id_free() on being dropped. (For internal use only.)

Trait Implementations§

Source§

impl Drop for MultiId

Source§

fn drop(&mut self)

Executes the destructor for this type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.