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