pub struct Braced<T> {
pub open_brace: OpenBrace,
pub body: T,
pub close_brace: CloseBrace,
}
Expand description
Parses { body }
Fields§
§open_brace: OpenBrace
§body: T
§close_brace: CloseBrace
Trait Implementations§
Source§impl<T: Ord> Ord for Braced<T>
impl<T: Ord> Ord for Braced<T>
Source§impl<T: PartialOrd> PartialOrd for Braced<T>
impl<T: PartialOrd> PartialOrd for Braced<T>
impl<T: Copy> Copy for Braced<T>
impl<T: Eq> Eq for Braced<T>
impl<T> StructuralPartialEq for Braced<T>
Auto Trait Implementations§
impl<T> Freeze for Braced<T>where
T: Freeze,
impl<T> RefUnwindSafe for Braced<T>where
T: RefUnwindSafe,
impl<T> Send for Braced<T>where
T: Send,
impl<T> Sync for Braced<T>where
T: Sync,
impl<T> Unpin for Braced<T>where
T: Unpin,
impl<T> UnwindSafe for Braced<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