#[repr(C)]pub struct YChunk {
pub data: YOutput,
pub fmt_len: u32,
pub fmt: *mut YMapEntry,
}Expand description
A chunk of text contents formatted with the same set of attributes.
Fields§
§data: YOutputPiece of YText formatted using the same fmt rules. It can be a string, embedded object
or another y-type.
fmt_len: u32Number of formatting attributes attached to current chunk of text.
fmt: *mut YMapEntryThe formatting attributes attached to the current chunk of text.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for YChunk
impl !RefUnwindSafe for YChunk
impl !Send for YChunk
impl !Sync for YChunk
impl Unpin for YChunk
impl !UnwindSafe for YChunk
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