pub struct Control {
pub vco: u16,
pub vcc: u16,
pub vce: u8,
}Expand description
The VU’s three control registers (N64brew RSP CPU Core §Control registers).
VCO and VCC are 16 bits, VCE is 8. They are flag registers rather than
data: each instruction defines what it reads and writes, so there is no
useful general description of their contents.
Fields§
§vco: u16Carry / overflow, 16 bits — two flags per lane.
vcc: u16Compare results, 16 bits.
vce: u8Clip-equality, 8 bits.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Control
impl<'de> Deserialize<'de> for Control
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for Control
impl Eq for Control
impl StructuralPartialEq for Control
Auto Trait Implementations§
impl Freeze for Control
impl RefUnwindSafe for Control
impl Send for Control
impl Sync for Control
impl Unpin for Control
impl UnsafeUnpin for Control
impl UnwindSafe for Control
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