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: bool
Implementations§
Source§impl StrideInfo
impl StrideInfo
Sourcepub fn get_offset(&self) -> Aff
pub fn get_offset(&self) -> Aff
Wraps isl_stride_info_get_offset
.
Sourcepub fn get_stride(&self) -> Val
pub fn get_stride(&self) -> Val
Wraps isl_stride_info_get_stride
.
Sourcepub fn copy(&self) -> StrideInfo
pub fn copy(&self) -> StrideInfo
Wraps isl_stride_info_copy
.
Sourcepub fn free(self) -> StrideInfo
pub fn free(self) -> StrideInfo
Wraps isl_stride_info_free
.
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