pub struct Restriction {
pub ptr: uintptr_t,
pub should_free_on_drop: bool,
}Expand description
Wraps isl_restriction.
Fields§
§ptr: uintptr_t§should_free_on_drop: boolImplementations§
Source§impl Restriction
impl Restriction
Sourcepub fn empty(source_map: Map) -> Result<Restriction, LibISLError>
pub fn empty(source_map: Map) -> Result<Restriction, LibISLError>
Wraps isl_restriction_empty.
Sourcepub fn free(self) -> Result<Restriction, LibISLError>
pub fn free(self) -> Result<Restriction, LibISLError>
Wraps isl_restriction_free.
Sourcepub fn input(
source_restr: Set,
sink_restr: Set,
) -> Result<Restriction, LibISLError>
pub fn input( source_restr: Set, sink_restr: Set, ) -> Result<Restriction, LibISLError>
Wraps isl_restriction_input.
Sourcepub fn none(source_map: Map) -> Result<Restriction, LibISLError>
pub fn none(source_map: Map) -> Result<Restriction, LibISLError>
Wraps isl_restriction_none.
Sourcepub fn output(source_restr: Set) -> Result<Restriction, LibISLError>
pub fn output(source_restr: Set) -> Result<Restriction, LibISLError>
Wraps isl_restriction_output.
Sourcepub fn do_not_free_on_drop(&mut self)
pub fn do_not_free_on_drop(&mut self)
Does not call isl_restriction_free() on being dropped. (For internal use only.)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Restriction
impl RefUnwindSafe for Restriction
impl Send for Restriction
impl Sync for Restriction
impl Unpin for Restriction
impl UnwindSafe for Restriction
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