pub struct XMLDecl { /* private fields */ }Implementations§
Source§impl XMLDecl
impl XMLDecl
pub fn new( version: String, encoding: Option<String>, standalone: Option<String>, ) -> Self
pub fn version(&self) -> String
pub fn set_encoding(&mut self, e: String)
pub fn encoding(&self) -> String
pub fn set_standalone(&mut self, s: String)
pub fn standalone(&self) -> String
Trait Implementations§
impl StructuralPartialEq for XMLDecl
Auto Trait Implementations§
impl Freeze 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