pub enum DataModel {
LP64,
ILP64,
}Expand description
Data model of library
Array index of some APIs in MKL are defined by int in C,
whose size is not fixed.
Variants§
LP64
long and pointer are 64bit, i.e. sizeof(int) == 4
ILP64
int, long and pointer are 64bit, i.e. sizeof(int) == 8
Implementations§
Trait Implementations§
impl Copy for DataModel
impl Eq for DataModel
impl StructuralPartialEq for DataModel
Auto Trait Implementations§
impl Freeze for DataModel
impl RefUnwindSafe for DataModel
impl Send for DataModel
impl Sync for DataModel
impl Unpin for DataModel
impl UnwindSafe for DataModel
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