pub struct Layout1ParameterBlock {
pub ranges: Vec<Range1, MAX_RANGES>,
}Expand description
Parameter block for range queries with 1-byte values.
Fields§
§ranges: Vec<Range1, MAX_RANGES>List of supported value ranges.
Implementations§
Source§impl Layout1ParameterBlock
impl Layout1ParameterBlock
Sourcepub fn try_from_bytes(bytes: &[u8]) -> Option<Self>
pub fn try_from_bytes(bytes: &[u8]) -> Option<Self>
Attempts to parse a Layout1ParameterBlock from a byte slice.
Returns Some if parsing is successful, or None if the data is invalid.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Layout1ParameterBlock
impl RefUnwindSafe for Layout1ParameterBlock
impl Send for Layout1ParameterBlock
impl Sync for Layout1ParameterBlock
impl Unpin for Layout1ParameterBlock
impl UnwindSafe for Layout1ParameterBlock
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