pub struct XmlDecl {
pub version: String,
pub encoding: Option<String>,
pub standalone: Option<bool>,
pub span: Span,
}Expand description
The XML declaration, <?xml version="1.0"?>.
Fields§
§version: String§encoding: Option<String>§standalone: Option<bool>§span: SpanTrait Implementations§
impl Eq for XmlDecl
impl StructuralPartialEq for XmlDecl
Auto Trait Implementations§
impl Forget for XmlDecl
impl Freeze for XmlDecl
impl Move for XmlDecl
impl RefUnwindSafe for XmlDecl
impl Send for XmlDecl
impl Sync for XmlDecl
impl Unpin for XmlDecl
impl UnsafeUnpin for XmlDecl
impl UnwindSafe for XmlDecl
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