[−][src]Struct bracket::parser::trim::TrimState
State that indicates how whitespace should be trimmed from the node being rendered.
Fields
start: bool
Whether the leading whitespace should be removed from the current output.
end: bool
Whether the trailing whitespace should be removed from the current output.
Trait Implementations
impl Clone for TrimState
[src]
impl Copy for TrimState
[src]
impl Debug for TrimState
[src]
impl Default for TrimState
[src]
impl<'a> From<(&'a Node<'a>, &'a Node<'a>)> for TrimState
[src]
impl From<(bool, bool)> for TrimState
[src]
Auto Trait Implementations
impl RefUnwindSafe for TrimState
impl Send for TrimState
impl Sync for TrimState
impl Unpin for TrimState
impl UnwindSafe for TrimState
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DynClone for T where
T: Clone,
[src]
T: Clone,
pub fn __clone_box(&self, Private) -> *mut ()
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,