Enum atspi_common::ClipType
source · #[repr(u32)]pub enum ClipType {
Neither = 0,
Min = 1,
Max = 2,
Both = 3,
}
Expand description
Enumeration used by TextProxy
to indicate how to treat characters intersecting bounding boxes.
Variants§
Neither = 0
No characters/glyphs are omitted.
Min = 1
Characters/glyphs clipped by the minimum coordinate are omitted.
Max = 2
Characters/glyphs which intersect the maximum coordinate are omitted.
Both = 3
Only glyphs falling entirely within the region bounded by min and max are retained.
Trait Implementations§
source§impl<'de> Deserialize<'de> for ClipType
impl<'de> Deserialize<'de> for ClipType
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 ClipType
impl PartialEq for ClipType
impl Copy for ClipType
impl Eq for ClipType
impl StructuralPartialEq for ClipType
Auto Trait Implementations§
impl Freeze for ClipType
impl RefUnwindSafe for ClipType
impl Send for ClipType
impl Sync for ClipType
impl Unpin for ClipType
impl UnwindSafe for ClipType
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<'de, T> DynamicDeserialize<'de> for T
impl<'de, T> DynamicDeserialize<'de> for T
§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
source§fn deserializer_for_signature<S>(
signature: S
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
fn deserializer_for_signature<S>( signature: S ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this signature.
source§impl<T> DynamicType for T
impl<T> DynamicType for T
source§fn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more