pub struct WithItem<R = TextRange> {
pub range: EmptyRange<R>,
pub context_expr: Expr<R>,
pub optional_vars: Option<Box<Expr<R>, Global>>,
}
Expand description
See also withitem
Fields§
§range: EmptyRange<R>
§context_expr: Expr<R>
§optional_vars: Option<Box<Expr<R>, Global>>
Trait Implementations§
source§impl<R> PartialEq<WithItem<R>> for WithItem<R>where
R: PartialEq<R>,
impl<R> PartialEq<WithItem<R>> for WithItem<R>where R: PartialEq<R>,
impl<R> StructuralPartialEq for WithItem<R>
Auto Trait Implementations§
impl<R> RefUnwindSafe for WithItem<R>where R: RefUnwindSafe,
impl<R> Send for WithItem<R>where R: Send,
impl<R> Sync for WithItem<R>where R: Sync,
impl<R> Unpin for WithItem<R>where R: Unpin,
impl<R> UnwindSafe for WithItem<R>where R: 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