pub struct Version(/* private fields */);Expand description
Windows Version value represented as [u16;4] array.
This version struct is helpful for serialization and
deserialization of the versions packed into a u64 value
represented as 2 LE-encoded u32 (DWORD) values.
Trait Implementations§
Source§impl TryDeserialize for Version
impl TryDeserialize for Version
type Error = Error
fn try_deserialize(src: &mut Deserializer<'_>) -> Result<Self, Error>
Source§impl TrySerialize for Version
impl TrySerialize for Version
Auto Trait Implementations§
impl Freeze for Version
impl RefUnwindSafe for Version
impl Send for Version
impl Sync for Version
impl Unpin for Version
impl UnwindSafe for Version
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