pub struct StrideInfo {
pub ptr: uintptr_t,
pub should_free_on_drop: bool,
}Expand description
Wraps isl_stride_info.
Fields§
§ptr: uintptr_t§should_free_on_drop: boolImplementations§
Source§impl StrideInfo
impl StrideInfo
Sourcepub fn copy(&self) -> Result<StrideInfo, LibISLError>
pub fn copy(&self) -> Result<StrideInfo, LibISLError>
Wraps isl_stride_info_copy.
Sourcepub fn free(self) -> Result<StrideInfo, LibISLError>
pub fn free(self) -> Result<StrideInfo, LibISLError>
Wraps isl_stride_info_free.
Sourcepub fn get_offset(&self) -> Result<Aff, LibISLError>
pub fn get_offset(&self) -> Result<Aff, LibISLError>
Wraps isl_stride_info_get_offset.
Sourcepub fn get_stride(&self) -> Result<Val, LibISLError>
pub fn get_stride(&self) -> Result<Val, LibISLError>
Wraps isl_stride_info_get_stride.
Sourcepub fn do_not_free_on_drop(&mut self)
pub fn do_not_free_on_drop(&mut self)
Does not call isl_stride_info_free() on being dropped. (For internal use only.)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StrideInfo
impl RefUnwindSafe for StrideInfo
impl Send for StrideInfo
impl Sync for StrideInfo
impl Unpin for StrideInfo
impl UnwindSafe for StrideInfo
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