pub struct FixedBox {
pub ptr: uintptr_t,
pub should_free_on_drop: bool,
}Expand description
Wraps isl_fixed_box.
Fields§
§ptr: uintptr_t§should_free_on_drop: boolImplementations§
Source§impl FixedBox
impl FixedBox
Sourcepub fn copy(&self) -> Result<FixedBox, LibISLError>
pub fn copy(&self) -> Result<FixedBox, LibISLError>
Wraps isl_fixed_box_copy.
Sourcepub fn dump(&self) -> Result<(), LibISLError>
pub fn dump(&self) -> Result<(), LibISLError>
Wraps isl_fixed_box_dump.
Sourcepub fn free(self) -> Result<FixedBox, LibISLError>
pub fn free(self) -> Result<FixedBox, LibISLError>
Wraps isl_fixed_box_free.
Sourcepub fn get_offset(&self) -> Result<MultiAff, LibISLError>
pub fn get_offset(&self) -> Result<MultiAff, LibISLError>
Wraps isl_fixed_box_get_offset.
Sourcepub fn get_size(&self) -> Result<MultiVal, LibISLError>
pub fn get_size(&self) -> Result<MultiVal, LibISLError>
Wraps isl_fixed_box_get_size.
Sourcepub fn get_space(&self) -> Result<Space, LibISLError>
pub fn get_space(&self) -> Result<Space, LibISLError>
Wraps isl_fixed_box_get_space.
Sourcepub fn is_valid(&self) -> Result<bool, LibISLError>
pub fn is_valid(&self) -> Result<bool, LibISLError>
Wraps isl_fixed_box_is_valid.
Sourcepub fn read_from_str(ctx: &Context, str_: &str) -> Result<FixedBox, LibISLError>
pub fn read_from_str(ctx: &Context, str_: &str) -> Result<FixedBox, LibISLError>
Wraps isl_fixed_box_read_from_str.
Sourcepub fn to_str(&self) -> Result<&str, LibISLError>
pub fn to_str(&self) -> Result<&str, LibISLError>
Wraps isl_fixed_box_to_str.
Sourcepub fn do_not_free_on_drop(&mut self)
pub fn do_not_free_on_drop(&mut self)
Does not call isl_fixed_box_free() on being dropped. (For internal use only.)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FixedBox
impl RefUnwindSafe for FixedBox
impl Send for FixedBox
impl Sync for FixedBox
impl Unpin for FixedBox
impl UnwindSafe for FixedBox
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