Struct ScheduleConstraints

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

Wraps isl_schedule_constraints.

Fields§

§ptr: uintptr_t§should_free_on_drop: bool

Implementations§

Source§

impl ScheduleConstraints

Source

pub fn get_conditional_validity(&self) -> UnionMap

Wraps isl_schedule_constraints_get_conditional_validity.

Source

pub fn get_proximity(&self) -> UnionMap

Wraps isl_schedule_constraints_get_proximity.

Source

pub fn get_context(&self) -> Set

Wraps isl_schedule_constraints_get_context.

Source

pub fn set_conditional_validity( self, condition: UnionMap, validity: UnionMap, ) -> ScheduleConstraints

Wraps isl_schedule_constraints_set_conditional_validity.

Source

pub fn free(self) -> ScheduleConstraints

Wraps isl_schedule_constraints_free.

Source

pub fn to_str(&self) -> &str

Wraps isl_schedule_constraints_to_str.

Source

pub fn compute_schedule(self) -> Schedule

Wraps isl_schedule_constraints_compute_schedule.

Source

pub fn get_ctx(&self) -> Context

Wraps isl_schedule_constraints_get_ctx.

Source

pub fn set_coincidence(self, coincidence: UnionMap) -> ScheduleConstraints

Wraps isl_schedule_constraints_set_coincidence.

Source

pub fn dump(&self)

Wraps isl_schedule_constraints_dump.

Source

pub fn get_coincidence(&self) -> UnionMap

Wraps isl_schedule_constraints_get_coincidence.

Source

pub fn set_validity(self, validity: UnionMap) -> ScheduleConstraints

Wraps isl_schedule_constraints_set_validity.

Source

pub fn set_context(self, context: Set) -> ScheduleConstraints

Wraps isl_schedule_constraints_set_context.

Source

pub fn get_domain(&self) -> UnionSet

Wraps isl_schedule_constraints_get_domain.

Source

pub fn set_proximity(self, proximity: UnionMap) -> ScheduleConstraints

Wraps isl_schedule_constraints_set_proximity.

Source

pub fn get_validity(&self) -> UnionMap

Wraps isl_schedule_constraints_get_validity.

Source

pub fn on_domain(domain: UnionSet) -> ScheduleConstraints

Wraps isl_schedule_constraints_on_domain.

Source

pub fn apply(self, umap: UnionMap) -> ScheduleConstraints

Wraps isl_schedule_constraints_apply.

Source

pub fn get_conditional_validity_condition(&self) -> UnionMap

Wraps isl_schedule_constraints_get_conditional_validity_condition.

Source

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

Wraps isl_schedule_constraints_read_from_str.

Source

pub fn copy(&self) -> ScheduleConstraints

Wraps isl_schedule_constraints_copy.

Source

pub fn do_not_free_on_drop(&mut self)

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

Trait Implementations§

Source§

impl Drop for ScheduleConstraints

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.