pub struct BindingContext { /* private fields */ }Implementations§
Source§impl BindingContext
impl BindingContext
pub fn new() -> Self
pub fn with_param( self, name: impl Into<String>, value: impl Into<String>, ) -> Self
pub fn with_namespace( self, alias: impl Into<String>, uri: impl Into<String>, ) -> XmlResult<Self>
pub fn param(&self, name: &str) -> XmlResult<&str>
pub fn namespaces(&self) -> &NamespaceContext
Trait Implementations§
Source§impl Clone for BindingContext
impl Clone for BindingContext
Source§fn clone(&self) -> BindingContext
fn clone(&self) -> BindingContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BindingContext
impl Debug for BindingContext
Source§impl Default for BindingContext
impl Default for BindingContext
Source§fn default() -> BindingContext
fn default() -> BindingContext
Returns the “default value” for a type. Read more
impl Eq for BindingContext
Source§impl PartialEq for BindingContext
impl PartialEq for BindingContext
Source§fn eq(&self, other: &BindingContext) -> bool
fn eq(&self, other: &BindingContext) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BindingContext
Auto Trait Implementations§
impl Freeze for BindingContext
impl RefUnwindSafe for BindingContext
impl Send for BindingContext
impl Sync for BindingContext
impl Unpin for BindingContext
impl UnsafeUnpin for BindingContext
impl UnwindSafe for BindingContext
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