pub struct NativeCaretRect {
pub page: u32,
pub x: f64,
pub y: f64,
pub height: f64,
pub cell_bounds: Option<NativeInteractionBounds>,
pub cell_overflowed: bool,
}Expand description
Page-local layout coordinates, in the same units as the core page tree.
Fields§
§page: u32§x: f64§y: f64§height: f64§cell_bounds: Option<NativeInteractionBounds>§cell_overflowed: boolTrait Implementations§
Source§impl Clone for NativeCaretRect
impl Clone for NativeCaretRect
impl Copy for NativeCaretRect
Source§impl Debug for NativeCaretRect
impl Debug for NativeCaretRect
Source§impl PartialEq for NativeCaretRect
impl PartialEq for NativeCaretRect
Source§impl Serialize for NativeCaretRect
impl Serialize for NativeCaretRect
impl StructuralPartialEq for NativeCaretRect
Auto Trait Implementations§
impl Forget for NativeCaretRect
impl Freeze for NativeCaretRect
impl Move for NativeCaretRect
impl RefUnwindSafe for NativeCaretRect
impl Send for NativeCaretRect
impl Sync for NativeCaretRect
impl Unpin for NativeCaretRect
impl UnsafeUnpin for NativeCaretRect
impl UnwindSafe for NativeCaretRect
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.