pub trait AttributeValue: Copy + Sealed {
const SIZE: usize;
// Required method
fn from_bytes(bytes: &[u8]) -> Self;
}Expand description
Value types an attribute can be read into.
Sealed: the set of types cuEST returns for scalars is closed (uint64_t,
int32_t, double).
Required Associated Constants§
Required Methods§
Sourcefn from_bytes(bytes: &[u8]) -> Self
fn from_bytes(bytes: &[u8]) -> Self
Interpret the value written by cuEST into bytes.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".