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: bool
Implementations§
Source§impl Restriction
impl Restriction
Sourcepub fn output(source_restr: Set) -> Restriction
pub fn output(source_restr: Set) -> Restriction
Wraps isl_restriction_output
.
Sourcepub fn none(source_map: Map) -> Restriction
pub fn none(source_map: Map) -> Restriction
Wraps isl_restriction_none
.
Sourcepub fn free(self) -> Restriction
pub fn free(self) -> Restriction
Wraps isl_restriction_free
.
Sourcepub fn input(source_restr: Set, sink_restr: Set) -> Restriction
pub fn input(source_restr: Set, sink_restr: Set) -> Restriction
Wraps isl_restriction_input
.
Sourcepub fn empty(source_map: Map) -> Restriction
pub fn empty(source_map: Map) -> Restriction
Wraps isl_restriction_empty
.
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