#[non_exhaustive]pub struct StandardFeature {
pub feature: u16,
pub mask: Vec<u8>,
}Expand description
One standard feature of a Reader Requirements box: SF and its SM.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.feature: u16SF: the feature, numbered as in ISO/IEC 15444-2.
mask: Vec<u8>SM: the feature’s mask.
Trait Implementations§
Source§impl Clone for StandardFeature
impl Clone for StandardFeature
Source§impl Debug for StandardFeature
impl Debug for StandardFeature
impl Eq for StandardFeature
Source§impl PartialEq for StandardFeature
impl PartialEq for StandardFeature
impl StructuralPartialEq for StandardFeature
Auto Trait Implementations§
impl Forget for StandardFeature
impl Freeze for StandardFeature
impl Move for StandardFeature
impl RefUnwindSafe for StandardFeature
impl Send for StandardFeature
impl Sync for StandardFeature
impl Unpin for StandardFeature
impl UnsafeUnpin for StandardFeature
impl UnwindSafe for StandardFeature
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