#[repr(u32)]
pub enum CoordType {
Screen,
Window,
Parent,
}
Expand description
The relative coordinate type.
Variants§
Screen
In relation to the entire screen.
Window
In relation to only the window.
Parent
In relation to the parent of the element being checked.
Trait Implementations§
source§impl<'de> Deserialize<'de> for CoordType
impl<'de> Deserialize<'de> for CoordType
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
impl Copy for CoordType
impl Eq for CoordType
impl StructuralEq for CoordType
impl StructuralPartialEq for CoordType
Auto Trait Implementations§
impl RefUnwindSafe for CoordType
impl Send for CoordType
impl Sync for CoordType
impl Unpin for CoordType
impl UnwindSafe for CoordType
Blanket Implementations§
§impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de> + ?Sized,
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de> + ?Sized,
§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
§impl<T> DynamicType for Twhere
T: Type + ?Sized,
impl<T> DynamicType for Twhere
T: Type + ?Sized,
§fn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more