pub struct BoundedSource {
pub lead_in: String,
pub text: String,
pub frames: Vec<FrameRange>,
}Expand description
The minimal envelope returned by compact when no renderer is
available — shape chosen, text chunked into per-frame source ranges,
but frame bytes are empty.
Fields§
§lead_in: String§text: String§frames: Vec<FrameRange>Trait Implementations§
Source§impl Clone for BoundedSource
impl Clone for BoundedSource
Source§fn clone(&self) -> BoundedSource
fn clone(&self) -> BoundedSource
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 moreSource§impl Debug for BoundedSource
impl Debug for BoundedSource
Source§impl<'de> Deserialize<'de> for BoundedSource
impl<'de> Deserialize<'de> for BoundedSource
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
Auto Trait Implementations§
impl Freeze for BoundedSource
impl RefUnwindSafe for BoundedSource
impl Send for BoundedSource
impl Sync for BoundedSource
impl Unpin for BoundedSource
impl UnsafeUnpin for BoundedSource
impl UnwindSafe for BoundedSource
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