pub struct ParagraphCaretStop {
pub index: usize,
pub upstream: bool,
pub position: LayoutPoint,
pub height: LayoutUnit,
}Expand description
A legal caret stop resolved by the shaping backend.
Fields§
§index: usize§upstream: bool§position: LayoutPoint§height: LayoutUnitTrait Implementations§
Source§impl Clone for ParagraphCaretStop
impl Clone for ParagraphCaretStop
Source§fn clone(&self) -> ParagraphCaretStop
fn clone(&self) -> ParagraphCaretStop
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ParagraphCaretStop
Source§impl Debug for ParagraphCaretStop
impl Debug for ParagraphCaretStop
Source§impl<'de> Deserialize<'de> for ParagraphCaretStop
impl<'de> Deserialize<'de> for ParagraphCaretStop
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 ParagraphCaretStop
impl PartialEq for ParagraphCaretStop
Source§impl Serialize for ParagraphCaretStop
impl Serialize for ParagraphCaretStop
impl StructuralPartialEq for ParagraphCaretStop
Auto Trait Implementations§
impl Freeze for ParagraphCaretStop
impl RefUnwindSafe for ParagraphCaretStop
impl Send for ParagraphCaretStop
impl Sync for ParagraphCaretStop
impl Unpin for ParagraphCaretStop
impl UnsafeUnpin for ParagraphCaretStop
impl UnwindSafe for ParagraphCaretStop
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