#[repr(C)]pub struct _xmlSaveCtxt {
pub buf: *mut _xmlOutputBuffer,
pub options: c_int,
pub format: c_int,
pub no_decl: c_int,
pub no_empty: c_int,
pub indent: *mut xmlChar,
pub escape: Option<xmlCharEncodingOutputFunc>,
pub attrEscape: Option<xmlCharEncodingOutputFunc>,
}Expand description
Candidate-internal save context (opaque upstream).
Fields§
§buf: *mut _xmlOutputBufferThe output buffer the context serializes into.
options: c_intThe XML_SAVE_* option bitmask passed to xmlSaveTo*.
format: c_intWhether XML_SAVE_FORMAT (newlines + indentation) is enabled.
no_decl: c_intWhether the XML declaration is suppressed (XML_SAVE_NO_DECL).
no_empty: c_intWhether empty elements must be written with an explicit end tag
(XML_SAVE_NO_EMPTY).
indent: *mut xmlCharOptional indentation string used when formatting is enabled.
escape: Option<xmlCharEncodingOutputFunc>Character-escaping callback for text content (deprecated upstream).
attrEscape: Option<xmlCharEncodingOutputFunc>Character-escaping callback for attribute values (deprecated upstream).
Trait Implementations§
Auto Trait Implementations§
impl !Send for _xmlSaveCtxt
impl !Sync for _xmlSaveCtxt
impl Freeze for _xmlSaveCtxt
impl RefUnwindSafe for _xmlSaveCtxt
impl Unpin for _xmlSaveCtxt
impl UnsafeUnpin for _xmlSaveCtxt
impl UnwindSafe for _xmlSaveCtxt
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