Enum atspi_common::ClipType
source · #[repr(u32)]pub enum ClipType {
Neither,
Min,
Max,
Both,
}
Expand description
Enumeration used by TextProxy
to indicate how to treat characters intersecting bounding boxes.
Variants§
Neither
No characters/glyphs are omitted.
Min
Characters/glyphs clipped by the minimum coordinate are omitted.
Max
Characters/glyphs which intersect the maximum coordinate are omitted.
Both
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<ClipType> for ClipType
impl PartialEq<ClipType> for ClipType
impl Copy for ClipType
impl Eq for ClipType
impl StructuralEq for ClipType
impl StructuralPartialEq for ClipType
Auto Trait Implementations§
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 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.
source§fn deserializer_for_signature<S>(
signature: S
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>where
S: TryInto<Signature<'de>>,
<S as TryInto<Signature<'de>>>::Error: Into<Error>,
fn deserializer_for_signature<S>( signature: S ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>where S: TryInto<Signature<'de>>, <S as TryInto<Signature<'de>>>::Error: Into<Error>,
Get a deserializer compatible with this signature.
source§impl<T> DynamicType for Twhere
T: Type + ?Sized,
impl<T> DynamicType for Twhere T: Type + ?Sized,
source§fn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more