Enum nvapi::MonitorConnectorType
source · [−]#[repr(i32)]
pub enum MonitorConnectorType {
Uninitialized,
Vga,
Component,
SVideo,
Hdmi,
Dvi,
Lvds,
DisplayPort,
Composite,
Unknown,
}
Variants
Uninitialized
Vga
Component
SVideo
Hdmi
Dvi
Lvds
DisplayPort
Composite
Unknown
Implementations
sourceimpl 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
sourceimpl Clone for MonitorConnectorType
impl Clone for MonitorConnectorType
sourcefn clone(&self) -> MonitorConnectorType
fn clone(&self) -> MonitorConnectorType
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 more
sourceimpl Debug for MonitorConnectorType
impl Debug for MonitorConnectorType
sourceimpl<'de> Deserialize<'de> for MonitorConnectorType
impl<'de> Deserialize<'de> for MonitorConnectorType
sourcefn 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
sourceimpl Display for MonitorConnectorType
impl Display for MonitorConnectorType
sourceimpl Hash for MonitorConnectorType
impl Hash for MonitorConnectorType
sourceimpl Into<i32> for MonitorConnectorType
impl Into<i32> for MonitorConnectorType
sourceimpl Ord for MonitorConnectorType
impl Ord for MonitorConnectorType
sourceimpl PartialOrd<MonitorConnectorType> for MonitorConnectorType
impl PartialOrd<MonitorConnectorType> for MonitorConnectorType
sourcefn partial_cmp(&self, other: &MonitorConnectorType) -> Option<Ordering>
fn partial_cmp(&self, other: &MonitorConnectorType) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
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 more
sourceimpl Serialize for MonitorConnectorType
impl Serialize for MonitorConnectorType
sourcefn 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 StructuralEq for MonitorConnectorType
impl StructuralPartialEq for MonitorConnectorType
Auto Trait Implementations
impl RefUnwindSafe for MonitorConnectorType
impl Send for MonitorConnectorType
impl Sync for MonitorConnectorType
impl Unpin for MonitorConnectorType
impl UnwindSafe for MonitorConnectorType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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