pub trait FromScalar<const N: usize> {
// Required method
fn from_scalar(value: [u32; N]) -> Self;
}Required Methods§
fn from_scalar(value: [u32; N]) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl FromScalar<1> for bool
impl FromScalar<1> for bool
fn from_scalar(value: [u32; 1]) -> Self
Source§impl FromScalar<1> for i32
impl FromScalar<1> for i32
fn from_scalar(value: [u32; 1]) -> Self
Source§impl FromScalar<1> for u8
impl FromScalar<1> for u8
fn from_scalar(value: [u32; 1]) -> Self
Source§impl FromScalar<1> for u16
impl FromScalar<1> for u16
fn from_scalar(value: [u32; 1]) -> Self
Source§impl FromScalar<1> for u32
impl FromScalar<1> for u32
fn from_scalar(value: [u32; 1]) -> Self
Source§impl FromScalar<1> for ()
impl FromScalar<1> for ()
fn from_scalar(_value: [u32; 1]) -> Self
Source§impl FromScalar<1> for usize
impl FromScalar<1> for usize
fn from_scalar(value: [u32; 1]) -> Self
Source§impl FromScalar<1> for PID
impl FromScalar<1> for PID
fn from_scalar(value: [u32; 1]) -> Self
Source§impl FromScalar<2> for u64
impl FromScalar<2> for u64
fn from_scalar(value: [u32; 2]) -> Self
Source§impl FromScalar<3> for MemoryRange
Available on non-keyos only.
impl FromScalar<3> for MemoryRange
Available on non-
keyos only.