Struct niri_ipc::LogicalOutput
source · pub struct LogicalOutput {
pub x: i32,
pub y: i32,
pub width: u32,
pub height: u32,
pub scale: f64,
pub transform: Transform,
}
Expand description
Logical output in the compositor’s coordinate space.
Fields§
§x: i32
Logical X position.
y: i32
Logical Y position.
width: u32
Width in logical pixels.
height: u32
Height in logical pixels.
scale: f64
Scale factor.
transform: Transform
Transform.
Trait Implementations§
source§impl Clone for LogicalOutput
impl Clone for LogicalOutput
source§fn clone(&self) -> LogicalOutput
fn clone(&self) -> LogicalOutput
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 LogicalOutput
impl Debug for LogicalOutput
source§impl<'de> Deserialize<'de> for LogicalOutput
impl<'de> Deserialize<'de> for LogicalOutput
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for LogicalOutput
impl PartialEq for LogicalOutput
source§impl Serialize for LogicalOutput
impl Serialize for LogicalOutput
impl Copy for LogicalOutput
impl StructuralPartialEq for LogicalOutput
Auto Trait Implementations§
impl Freeze for LogicalOutput
impl RefUnwindSafe for LogicalOutput
impl Send for LogicalOutput
impl Sync for LogicalOutput
impl Unpin for LogicalOutput
impl UnwindSafe for LogicalOutput
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
)