#[non_exhaustive]pub struct FpscrState {
pub pr: Option<bool>,
pub sz: Option<bool>,
pub fr: Option<bool>,
}Expand description
Known or unknown SH-4 FPSCR mode bits.
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.pr: Option<bool>Precision mode (PR), or unknown.
sz: Option<bool>Transfer size mode (SZ), or unknown.
fr: Option<bool>Register-bank mode (FR), or unknown.
Implementations§
Trait Implementations§
Source§impl Clone for FpscrState
impl Clone for FpscrState
Source§fn clone(&self) -> FpscrState
fn clone(&self) -> FpscrState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FpscrState
Source§impl Debug for FpscrState
impl Debug for FpscrState
Source§impl Default for FpscrState
impl Default for FpscrState
Source§fn default() -> FpscrState
fn default() -> FpscrState
Returns the “default value” for a type. Read more
impl Eq for FpscrState
Source§impl PartialEq for FpscrState
impl PartialEq for FpscrState
impl StructuralPartialEq for FpscrState
Auto Trait Implementations§
impl Freeze for FpscrState
impl RefUnwindSafe for FpscrState
impl Send for FpscrState
impl Sync for FpscrState
impl Unpin for FpscrState
impl UnsafeUnpin for FpscrState
impl UnwindSafe for FpscrState
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