#[repr(C)]pub struct LMFlowBuffer {
pub data: *mut c_void,
pub shape: [i64; 8],
pub strides: [i64; 8],
pub ndim: i32,
pub dtype: i32,
pub flags: u32,
pub device: i32,
pub reserved: [i64; 2],
}Fields§
§data: *mut c_void§shape: [i64; 8]§strides: [i64; 8]§ndim: i32§dtype: i32§flags: u32§device: i32§reserved: [i64; 2]Trait Implementations§
Source§impl Clone for LMFlowBuffer
impl Clone for LMFlowBuffer
Source§fn clone(&self) -> LMFlowBuffer
fn clone(&self) -> LMFlowBuffer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LMFlowBuffer
Auto Trait Implementations§
impl !Send for LMFlowBuffer
impl !Sync for LMFlowBuffer
impl Freeze for LMFlowBuffer
impl RefUnwindSafe for LMFlowBuffer
impl Unpin for LMFlowBuffer
impl UnsafeUnpin for LMFlowBuffer
impl UnwindSafe for LMFlowBuffer
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