pub struct Layout2ParameterBlock {
pub ranges: Vec<Range2, MAX_RANGES>,
}Expand description
Parameter block for range queries with 2-byte values.
Fields§
§ranges: Vec<Range2, MAX_RANGES>List of supported value ranges.
Implementations§
Source§impl Layout2ParameterBlock
impl Layout2ParameterBlock
Sourcepub fn try_from_bytes(bytes: &[u8]) -> Option<Self>
pub fn try_from_bytes(bytes: &[u8]) -> Option<Self>
Attempts to parse a Layout2ParameterBlock 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 Layout2ParameterBlock
impl RefUnwindSafe for Layout2ParameterBlock
impl Send for Layout2ParameterBlock
impl Sync for Layout2ParameterBlock
impl Unpin for Layout2ParameterBlock
impl UnwindSafe for Layout2ParameterBlock
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