Struct pex::BracketPair
source · pub struct BracketPair<'i, T> {
pub lhs: StringView<'i>,
pub rhs: StringView<'i>,
pub body: Vec<T>,
}Expand description
A bracket pair like [1, 2, 3]
Fields§
§lhs: StringView<'i>The left bracket
rhs: StringView<'i>The right bracket
body: Vec<T>The elements in the bracket
Trait Implementations§
Auto Trait Implementations§
impl<'i, T> RefUnwindSafe for BracketPair<'i, T>where T: RefUnwindSafe,
impl<'i, T> Send for BracketPair<'i, T>where T: Send,
impl<'i, T> Sync for BracketPair<'i, T>where T: Sync,
impl<'i, T> Unpin for BracketPair<'i, T>where T: Unpin,
impl<'i, T> UnwindSafe for BracketPair<'i, T>where T: UnwindSafe,
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