pub struct ScreenCodeValue {
pub set: u8,
pub value: u8,
}Expand description
A Commodore screen code value and the screen set it is in
The configuration file uses a two-element tuple or list to store the set and value fields. The Serde and Serde JSON serializer automatically support deserializing from a tuple into a struct. This may be confusing so this note is here to let people know.
Fields§
§set: u8The screen set this code is in
value: u8The screen code value
Trait Implementations§
Source§impl Clone for ScreenCodeValue
impl Clone for ScreenCodeValue
Source§fn clone(&self) -> ScreenCodeValue
fn clone(&self) -> ScreenCodeValue
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScreenCodeValue
impl Debug for ScreenCodeValue
Source§impl<'de> Deserialize<'de> for ScreenCodeValue
impl<'de> Deserialize<'de> for ScreenCodeValue
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
Source§impl Serialize for ScreenCodeValue
impl Serialize for ScreenCodeValue
impl Copy for ScreenCodeValue
Auto Trait Implementations§
impl Freeze for ScreenCodeValue
impl RefUnwindSafe for ScreenCodeValue
impl Send for ScreenCodeValue
impl Sync for ScreenCodeValue
impl Unpin for ScreenCodeValue
impl UnwindSafe for ScreenCodeValue
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