pub enum Ws {
Preserve,
Replace,
Collapse,
}Expand description
The XSD whiteSpace facet.
Variants§
Preserve
Kept as written.
Replace
Tab, line feed and carriage return become spaces.
Collapse
Replace, then runs of spaces become one and the ends are trimmed.
Trait Implementations§
impl Copy for Ws
impl Eq for Ws
impl StructuralPartialEq for Ws
Auto Trait Implementations§
impl Forget for Ws
impl Freeze for Ws
impl Move for Ws
impl RefUnwindSafe for Ws
impl Send for Ws
impl Sync for Ws
impl Unpin for Ws
impl UnsafeUnpin for Ws
impl UnwindSafe for Ws
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