Enum vnc::VncVersion
source · [−]#[repr(u8)]
pub enum VncVersion {
RFB33,
RFB37,
RFB38,
}Variants
RFB33
RFB37
RFB38
Trait Implementations
sourceimpl Clone for VncVersion
impl Clone for VncVersion
sourcefn clone(&self) -> VncVersion
fn clone(&self) -> VncVersion
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for VncVersion
impl Debug for VncVersion
sourceimpl From<[u8; 12]> for VncVersion
impl From<[u8; 12]> for VncVersion
sourceimpl From<VncVersion> for &[u8; 12]
impl From<VncVersion> for &[u8; 12]
sourcefn from(version: VncVersion) -> Self
fn from(version: VncVersion) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<VncVersion> for VncVersion
impl PartialEq<VncVersion> for VncVersion
sourcefn eq(&self, other: &VncVersion) -> bool
fn eq(&self, other: &VncVersion) -> bool
sourceimpl PartialOrd<VncVersion> for VncVersion
impl PartialOrd<VncVersion> for VncVersion
sourcefn partial_cmp(&self, other: &VncVersion) -> Option<Ordering>
fn partial_cmp(&self, other: &VncVersion) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for VncVersion
impl Eq for VncVersion
impl StructuralEq for VncVersion
impl StructuralPartialEq for VncVersion
Auto Trait Implementations
impl RefUnwindSafe for VncVersion
impl Send for VncVersion
impl Sync for VncVersion
impl Unpin for VncVersion
impl UnwindSafe for VncVersion
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more