pub enum Boolean {
Absent,
Value(bool),
Malformed,
}Expand description
Original optional XML Schema boolean, validated by the XML lexical owner.
Variants§
Absent
Attribute was not written; this is distinct from explicit false.
Value(bool)
Valid lexical boolean after XML Schema whitespace handling.
Malformed
Present text has no XML Schema boolean value.
Trait Implementations§
impl Copy for Boolean
impl Eq for Boolean
impl StructuralPartialEq for Boolean
Auto Trait Implementations§
impl Forget for Boolean
impl Freeze for Boolean
impl RefUnwindSafe for Boolean
impl Send for Boolean
impl Sync for Boolean
impl Unpin for Boolean
impl UnsafeUnpin for Boolean
impl UnwindSafe for Boolean
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