pub struct NightLightBytes {
pub state: Vec<u8>,
pub settings: Vec<u8>,
}Fields§
§state: Vec<u8>§settings: Vec<u8>Implementations§
Source§impl NightLightBytes
impl NightLightBytes
pub fn from_reg() -> Result<Self, Error>
pub fn bytes_of_value(&self, reg_value_id: RegValueId) -> &[u8] ⓘ
Trait Implementations§
Source§impl Clone for NightLightBytes
impl Clone for NightLightBytes
Source§fn clone(&self) -> NightLightBytes
fn clone(&self) -> NightLightBytes
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 moreAuto Trait Implementations§
impl Freeze for NightLightBytes
impl RefUnwindSafe for NightLightBytes
impl Send for NightLightBytes
impl Sync for NightLightBytes
impl Unpin for NightLightBytes
impl UnwindSafe for NightLightBytes
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