[−][src]Struct breadx::auto::randr::ModeFlag
Fields
inner: u32
Implementations
impl ModeFlag
[src]
pub fn hsync_positive(&self) -> bool
[src]
pub fn set_hsync_positive(&mut self, val: bool) -> &mut Self
[src]
pub fn hsync_negative(&self) -> bool
[src]
pub fn set_hsync_negative(&mut self, val: bool) -> &mut Self
[src]
pub fn vsync_positive(&self) -> bool
[src]
pub fn set_vsync_positive(&mut self, val: bool) -> &mut Self
[src]
pub fn vsync_negative(&self) -> bool
[src]
pub fn set_vsync_negative(&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 double_scan(&self) -> bool
[src]
pub fn set_double_scan(&mut self, val: bool) -> &mut Self
[src]
pub fn csync(&self) -> bool
[src]
pub fn set_csync(&mut self, val: bool) -> &mut Self
[src]
pub fn csync_positive(&self) -> bool
[src]
pub fn set_csync_positive(&mut self, val: bool) -> &mut Self
[src]
pub fn csync_negative(&self) -> bool
[src]
pub fn set_csync_negative(&mut self, val: bool) -> &mut Self
[src]
pub fn hskew_present(&self) -> bool
[src]
pub fn set_hskew_present(&mut self, val: bool) -> &mut Self
[src]
pub fn bcast(&self) -> bool
[src]
pub fn set_bcast(&mut self, val: bool) -> &mut Self
[src]
pub fn pixel_multiplex(&self) -> bool
[src]
pub fn set_pixel_multiplex(&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 halve_clock(&self) -> bool
[src]
pub fn set_halve_clock(&mut self, val: bool) -> &mut Self
[src]
pub fn new(
hsync_positive: bool,
hsync_negative: bool,
vsync_positive: bool,
vsync_negative: bool,
interlace: bool,
double_scan: bool,
csync: bool,
csync_positive: bool,
csync_negative: bool,
hskew_present: bool,
bcast: bool,
pixel_multiplex: bool,
double_clock: bool,
halve_clock: bool
) -> Self
[src]
hsync_positive: bool,
hsync_negative: bool,
vsync_positive: bool,
vsync_negative: bool,
interlace: bool,
double_scan: bool,
csync: bool,
csync_positive: bool,
csync_negative: bool,
hskew_present: bool,
bcast: bool,
pixel_multiplex: bool,
double_clock: bool,
halve_clock: bool
) -> Self
pub fn count_ones(&self) -> usize
[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 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) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.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>,