Enum niri_ipc::PositionToSet
source · pub enum PositionToSet {
Automatic,
Specific(ConfiguredPosition),
}
Expand description
Output position to set.
Variants§
Trait Implementations§
source§impl Clone for PositionToSet
impl Clone for PositionToSet
source§fn clone(&self) -> PositionToSet
fn clone(&self) -> PositionToSet
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 PositionToSet
impl Debug for PositionToSet
source§impl<'de> Deserialize<'de> for PositionToSet
impl<'de> Deserialize<'de> for PositionToSet
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 PositionToSet
impl PartialEq for PositionToSet
source§impl Serialize for PositionToSet
impl Serialize for PositionToSet
impl Copy for PositionToSet
impl StructuralPartialEq for PositionToSet
Auto Trait Implementations§
impl Freeze for PositionToSet
impl RefUnwindSafe for PositionToSet
impl Send for PositionToSet
impl Sync for PositionToSet
impl Unpin for PositionToSet
impl UnwindSafe for PositionToSet
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
)