[−][src]Struct breadx::auto::xf86vidmode::ModeFlag
Fields
inner: u32Implementations
impl ModeFlag[src]
pub fn positive_h_sync(&self) -> bool[src]
pub fn set_positive_h_sync(&mut self, val: bool) -> &mut Self[src]
pub fn negative_h_sync(&self) -> bool[src]
pub fn set_negative_h_sync(&mut self, val: bool) -> &mut Self[src]
pub fn positive_v_sync(&self) -> bool[src]
pub fn set_positive_v_sync(&mut self, val: bool) -> &mut Self[src]
pub fn negative_v_sync(&self) -> bool[src]
pub fn set_negative_v_sync(&mut self, val: bool) -> &mut Self[src]
pub fn interlace(&self) -> bool[src]
pub fn set_interlace(&mut self, val: bool) -> &mut Self[src]
pub fn composite_sync(&self) -> bool[src]
pub fn set_composite_sync(&mut self, val: bool) -> &mut Self[src]
pub fn positive_c_sync(&self) -> bool[src]
pub fn set_positive_c_sync(&mut self, val: bool) -> &mut Self[src]
pub fn negative_c_sync(&self) -> bool[src]
pub fn set_negative_c_sync(&mut self, val: bool) -> &mut Self[src]
pub fn h_skew(&self) -> bool[src]
pub fn set_h_skew(&mut self, val: bool) -> &mut Self[src]
pub fn broadcast(&self) -> bool[src]
pub fn set_broadcast(&mut self, val: bool) -> &mut Self[src]
pub fn pixmux(&self) -> bool[src]
pub fn set_pixmux(&mut self, val: bool) -> &mut Self[src]
pub fn double_clock(&self) -> bool[src]
pub fn set_double_clock(&mut self, val: bool) -> &mut Self[src]
pub fn half_clock(&self) -> bool[src]
pub fn set_half_clock(&mut self, val: bool) -> &mut Self[src]
pub fn new(
positive_h_sync: bool,
negative_h_sync: bool,
positive_v_sync: bool,
negative_v_sync: bool,
interlace: bool,
composite_sync: bool,
positive_c_sync: bool,
negative_c_sync: bool,
h_skew: bool,
broadcast: bool,
pixmux: bool,
double_clock: bool,
half_clock: bool
) -> Self[src]
positive_h_sync: bool,
negative_h_sync: bool,
positive_v_sync: bool,
negative_v_sync: bool,
interlace: bool,
composite_sync: bool,
positive_c_sync: bool,
negative_c_sync: bool,
h_skew: bool,
broadcast: bool,
pixmux: bool,
double_clock: bool,
half_clock: bool
) -> Self
pub fn count_ones(&self) -> usize[src]
pub const POSITIVE_H_SYNC: Self[src]
pub const NEGATIVE_H_SYNC: Self[src]
pub const POSITIVE_V_SYNC: Self[src]
pub const NEGATIVE_V_SYNC: Self[src]
pub const INTERLACE: Self[src]
pub const COMPOSITE_SYNC: Self[src]
pub const POSITIVE_C_SYNC: Self[src]
pub const NEGATIVE_C_SYNC: Self[src]
pub const H_SKEW: Self[src]
pub const BROADCAST: Self[src]
pub const PIXMUX: Self[src]
pub const DOUBLE_CLOCK: Self[src]
pub const HALF_CLOCK: Self[src]
pub const COMPLETE: Self[src]
Trait Implementations
impl AsByteSequence for ModeFlag[src]
pub fn as_bytes(&self, bytes: &mut [u8]) -> usize[src]
pub fn from_bytes(bytes: &[u8]) -> Option<(Self, usize)>[src]
pub fn size(&self) -> usize[src]
pub fn file_descriptors(&mut self) -> Option<&mut Vec<Fd>>[src]
impl BitAnd<ModeFlag> for ModeFlag[src]
type Output = ModeFlag
The resulting type after applying the & operator.
pub fn bitand(self, rhs: ModeFlag) -> ModeFlag[src]
impl BitOr<ModeFlag> for ModeFlag[src]
type Output = ModeFlag
The resulting type after applying the | operator.
pub fn bitor(self, rhs: ModeFlag) -> ModeFlag[src]
impl BitXor<ModeFlag> for ModeFlag[src]
type Output = ModeFlag
The resulting type after applying the ^ operator.
pub fn bitxor(self, rhs: ModeFlag) -> ModeFlag[src]
impl Clone for ModeFlag[src]
impl Copy for ModeFlag[src]
impl Debug for ModeFlag[src]
impl Default for ModeFlag[src]
impl Eq for ModeFlag[src]
impl Not for ModeFlag[src]
type Output = ModeFlag
The resulting type after applying the ! operator.
pub fn not(self) -> ModeFlag[src]
impl Ord for ModeFlag[src]
pub fn cmp(&self, other: &ModeFlag) -> Ordering[src]
#[must_use]pub fn max(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self1.50.0[src]
impl PartialEq<ModeFlag> for ModeFlag[src]
impl PartialOrd<ModeFlag> for ModeFlag[src]
pub fn partial_cmp(&self, other: &ModeFlag) -> Option<Ordering>[src]
pub fn lt(&self, other: &ModeFlag) -> bool[src]
pub fn le(&self, other: &ModeFlag) -> bool[src]
pub fn gt(&self, other: &ModeFlag) -> bool[src]
pub fn ge(&self, other: &ModeFlag) -> bool[src]
impl StructuralEq for ModeFlag[src]
impl StructuralPartialEq for ModeFlag[src]
Auto Trait Implementations
impl RefUnwindSafe for ModeFlag[src]
impl Send for ModeFlag[src]
impl Sync for ModeFlag[src]
impl Unpin for ModeFlag[src]
impl UnwindSafe for ModeFlag[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,