pub struct FormatRun {
pub byte_start: u32,
pub byte_end: u32,
pub format: CharacterFormat,
}Expand description
One run of identical character formatting inside a block. Byte offsets
are relative to the block’s plain_text (Phase 1) or to the block’s
rope range (Phase 2).
Fields§
§byte_start: u32§byte_end: u32§format: CharacterFormatTrait Implementations§
Source§impl<'de> Deserialize<'de> for FormatRun
impl<'de> Deserialize<'de> for FormatRun
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 Eq for FormatRun
impl StructuralPartialEq for FormatRun
Auto Trait Implementations§
impl Freeze for FormatRun
impl RefUnwindSafe for FormatRun
impl Send for FormatRun
impl Sync for FormatRun
impl Unpin for FormatRun
impl UnsafeUnpin for FormatRun
impl UnwindSafe for FormatRun
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