pub struct ParserStateBuilder<N: Node>(/* private fields */);Implementations§
Source§impl<N: Node> ParserStateBuilder<N>
impl<N: Node> ParserStateBuilder<N>
pub fn new() -> Self
pub fn doc(self, d: N) -> Self
pub fn current(self, d: N) -> Self
pub fn dtd(self, d: DTD) -> Self
pub fn attribute_defaults(self, a: bool) -> Self
pub fn in_scope_namespaces(self, nsm: NamespaceMap) -> Self
pub fn id_tracking(self, a: bool) -> Self
pub fn standalone(self, a: bool) -> Self
pub fn currently_external(self, a: bool) -> Self
pub fn xml_version(self, x: String) -> Self
pub fn maximum_entity_depth(self, d: usize) -> Self
pub fn document_location(self, l: String) -> Self
pub fn build(self) -> ParserState<N>
Trait Implementations§
Auto Trait Implementations§
impl<N> !Send for ParserStateBuilder<N>
impl<N> !Sync for ParserStateBuilder<N>
impl<N> Freeze for ParserStateBuilder<N>where
N: Freeze,
impl<N> RefUnwindSafe for ParserStateBuilder<N>where
N: RefUnwindSafe,
impl<N> Unpin for ParserStateBuilder<N>where
N: Unpin,
impl<N> UnsafeUnpin for ParserStateBuilder<N>where
N: UnsafeUnpin,
impl<N> UnwindSafe for ParserStateBuilder<N>where
N: 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