#[repr(C)]pub struct DLPackVersion {
pub major: u32,
pub minor: u32,
}Expand description
DLPack version information.
Fields§
§major: u32Major version (1 for DLPack v1.0).
minor: u32Minor version.
Auto Trait Implementations§
impl Freeze for DLPackVersion
impl RefUnwindSafe for DLPackVersion
impl Send for DLPackVersion
impl Sync for DLPackVersion
impl Unpin for DLPackVersion
impl UnwindSafe for DLPackVersion
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