pub struct BracketArgument {
pub level: usize,
pub raw: String,
}Expand description
A bracket argument with its “=” nesting level.
Fields§
§level: usizeNumber of = characters between the outer brackets. 0 = [[...]].
raw: StringThe raw source text, e.g. [==[content]==].
Trait Implementations§
Source§impl Clone for BracketArgument
impl Clone for BracketArgument
Source§fn clone(&self) -> BracketArgument
fn clone(&self) -> BracketArgument
Returns a duplicate of the value. Read more
1.0.0 · 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 BracketArgument
impl Debug for BracketArgument
Source§impl PartialEq for BracketArgument
impl PartialEq for BracketArgument
impl Eq for BracketArgument
impl StructuralPartialEq for BracketArgument
Auto Trait Implementations§
impl Freeze for BracketArgument
impl RefUnwindSafe for BracketArgument
impl Send for BracketArgument
impl Sync for BracketArgument
impl Unpin for BracketArgument
impl UnsafeUnpin for BracketArgument
impl UnwindSafe for BracketArgument
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.