#[repr(i32)]pub enum MonitorConnectorType {
Uninitialized = 0,
Vga = 2,
Component = 3,
SVideo = 4,
Hdmi = 5,
Dvi = 6,
Lvds = 7,
DisplayPort = 8,
Composite = 9,
Unknown = -1,
}Variants§
Uninitialized = 0
Vga = 2
Component = 3
SVideo = 4
Hdmi = 5
Dvi = 6
Lvds = 7
DisplayPort = 8
Composite = 9
Unknown = -1
Implementations§
Source§impl MonitorConnectorType
impl MonitorConnectorType
pub fn from_raw(raw: i32) -> Result<MonitorConnectorType, ArgumentRangeError>
pub fn raw(&self) -> i32
pub fn values() -> Cloned<Iter<'static, MonitorConnectorType>>
Trait Implementations§
Source§impl Clone for MonitorConnectorType
impl Clone for MonitorConnectorType
Source§fn clone(&self) -> MonitorConnectorType
fn clone(&self) -> MonitorConnectorType
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 MonitorConnectorType
impl Debug for MonitorConnectorType
Source§impl<'de> Deserialize<'de> for MonitorConnectorType
impl<'de> Deserialize<'de> for MonitorConnectorType
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MonitorConnectorType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MonitorConnectorType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for MonitorConnectorType
impl Display for MonitorConnectorType
Source§impl Hash for MonitorConnectorType
impl Hash for MonitorConnectorType
Source§impl Into<i32> for MonitorConnectorType
impl Into<i32> for MonitorConnectorType
Source§impl Ord for MonitorConnectorType
impl Ord for MonitorConnectorType
Source§fn cmp(&self, other: &MonitorConnectorType) -> Ordering
fn cmp(&self, other: &MonitorConnectorType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MonitorConnectorType
impl PartialEq for MonitorConnectorType
Source§impl PartialOrd for MonitorConnectorType
impl PartialOrd for MonitorConnectorType
Source§impl Serialize for MonitorConnectorType
impl Serialize for MonitorConnectorType
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for MonitorConnectorType
impl Eq for MonitorConnectorType
impl StructuralPartialEq for MonitorConnectorType
Auto Trait Implementations§
impl Freeze for MonitorConnectorType
impl RefUnwindSafe for MonitorConnectorType
impl Send for MonitorConnectorType
impl Sync for MonitorConnectorType
impl Unpin for MonitorConnectorType
impl UnwindSafe for MonitorConnectorType
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