#[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: YOutput
Piece of YText formatted using the same fmt
rules. It can be a string, embedded object
or another y-type.
fmt_len: u32
Number of formatting attributes attached to current chunk of text.
fmt: *mut YMapEntry
The 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