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 XmlDeclwhere
RawVecInner: Send,
impl Sync for XmlDeclwhere
RawVecInner: Sync,
impl Unpin for XmlDecl
impl UnsafeUnpin for XmlDecl
impl UnwindSafe for XmlDeclwhere
RawVecInner: UnwindSafe,
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