#[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 YMapEntryTrait Implementations§
Auto Trait Implementations§
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