Struct terminfo::capability::DeviceType
[−]
[src]
pub struct DeviceType<'a>(_);
Trait Implementations
impl<'a> Eq for DeviceType<'a>
[src]
impl<'a> PartialEq for DeviceType<'a>
[src]
fn eq(&self, __arg_0: &DeviceType<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DeviceType<'a>) -> bool
This method tests for !=
.
impl<'a> Clone for DeviceType<'a>
[src]
fn clone(&self) -> DeviceType<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<'a> Debug for DeviceType<'a>
[src]
impl<'a> Capability<'a> for DeviceType<'a>
[src]
fn name() -> &'static str
Returns the name of the capability in its long form.
fn from(value: Option<&'a Value>) -> Option<DeviceType<'a>>
Parse the capability from its raw value.
fn into(self) -> Option<Value>
Convert the capability into its raw value.
impl<'a, T: AsRef<&'a [u8]>> From<T> for DeviceType<'a>
[src]
fn from(value: T) -> Self
Performs the conversion.