pub struct JsonExporter { /* private fields */ }Expand description
Implementations§
Source§impl JsonExporter
impl JsonExporter
Sourcepub fn with_pretty_print() -> Self
pub fn with_pretty_print() -> Self
Create a JSON exporter with pretty-printing enabled
Sourcepub fn export_shaping(&self, shaped: &ShapingResult) -> Result<Vec<u8>>
pub fn export_shaping(&self, shaped: &ShapingResult) -> Result<Vec<u8>>
Export shaping result to HarfBuzz-compatible JSON
Trait Implementations§
Source§impl Default for JsonExporter
impl Default for JsonExporter
Auto Trait Implementations§
impl Freeze for JsonExporter
impl RefUnwindSafe for JsonExporter
impl Send for JsonExporter
impl Sync for JsonExporter
impl Unpin for JsonExporter
impl UnsafeUnpin for JsonExporter
impl UnwindSafe for JsonExporter
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