#[repr(transparent)]pub struct Serrwarn(pub u32);Expand description
Target Errors and Warnings
Tuple Fields§
§0: u32Implementations§
Source§impl Serrwarn
impl Serrwarn
Sourcepub const fn set_urunnack(&mut self, val: bool)
pub const fn set_urunnack(&mut self, val: bool)
Underrun and Not Acknowledged (NACKed) Error Flag
Sourcepub const fn set_invstart(&mut self, val: bool)
pub const fn set_invstart(&mut self, val: bool)
Invalid Start Error Flag
Sourcepub const fn set_owrite(&mut self, val: bool)
pub const fn set_owrite(&mut self, val: bool)
Over-Write Error Flag
Trait Implementations§
impl Copy for Serrwarn
impl Eq for Serrwarn
impl StructuralPartialEq for Serrwarn
Auto Trait Implementations§
impl Freeze for Serrwarn
impl RefUnwindSafe for Serrwarn
impl Send for Serrwarn
impl Sync for Serrwarn
impl Unpin for Serrwarn
impl UnwindSafe for Serrwarn
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