Struct x11rb::protocol::randr::CrtcChange
source · pub struct CrtcChange {
pub timestamp: u32,
pub window: u32,
pub crtc: u32,
pub mode: u32,
pub rotation: Rotation,
pub x: i16,
pub y: i16,
pub width: u16,
pub height: u16,
}
Fields§
§timestamp: u32
§window: u32
§crtc: u32
§mode: u32
§rotation: Rotation
§x: i16
§y: i16
§width: u16
§height: u16
Trait Implementations§
source§impl Clone for CrtcChange
impl Clone for CrtcChange
source§fn clone(&self) -> CrtcChange
fn clone(&self) -> CrtcChange
Returns a copy 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 CrtcChange
impl Debug for CrtcChange
source§impl Default for CrtcChange
impl Default for CrtcChange
source§fn default() -> CrtcChange
fn default() -> CrtcChange
Returns the “default value” for a type. Read more
source§impl From<CrtcChange> for NotifyData
impl From<CrtcChange> for NotifyData
source§fn from(cc: CrtcChange) -> NotifyData
fn from(cc: CrtcChange) -> NotifyData
Converts to this type from the input type.
source§impl Serialize for CrtcChange
impl Serialize for CrtcChange
source§impl TryParse for CrtcChange
impl TryParse for CrtcChange
source§fn try_parse(remaining: &[u8]) -> Result<(CrtcChange, &[u8]), ParseError>
fn try_parse(remaining: &[u8]) -> Result<(CrtcChange, &[u8]), ParseError>
Try to parse the given values into an instance of this type. Read more
impl Copy for CrtcChange
Auto Trait Implementations§
impl Freeze for CrtcChange
impl RefUnwindSafe for CrtcChange
impl Send for CrtcChange
impl Sync for CrtcChange
impl Unpin for CrtcChange
impl UnwindSafe for CrtcChange
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
source§impl<T> TryParseFd for Twhere
T: TryParse,
impl<T> TryParseFd for Twhere
T: TryParse,
source§fn try_parse_fd<'a>(
value: &'a [u8],
_: &mut Vec<OwnedFd>,
) -> Result<(T, &'a [u8]), ParseError>
fn try_parse_fd<'a>( value: &'a [u8], _: &mut Vec<OwnedFd>, ) -> Result<(T, &'a [u8]), ParseError>
Try to parse the given values into an instance of this type. Read more