Struct xcb::randr::CrtcChange
source · pub struct CrtcChange { /* private fields */ }
Implementations§
source§impl CrtcChange
impl CrtcChange
sourcepub fn new(
timestamp: Timestamp,
window: Window,
crtc: Crtc,
mode: Mode,
rotation: Rotation,
x: i16,
y: i16,
width: u16,
height: u16,
) -> CrtcChange
pub fn new( timestamp: Timestamp, window: Window, crtc: Crtc, mode: Mode, rotation: Rotation, x: i16, y: i16, width: u16, height: u16, ) -> CrtcChange
Construct a new CrtcChange.
pub fn timestamp(&self) -> Timestamp
pub fn window(&self) -> Window
pub fn crtc(&self) -> Crtc
pub fn mode(&self) -> Mode
pub fn rotation(&self) -> Rotation
pub fn x(&self) -> i16
pub fn y(&self) -> i16
pub fn width(&self) -> u16
pub fn height(&self) -> 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
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)