pub struct ExprHelper {}
Implementations§
Source§impl ExprHelper
impl ExprHelper
pub fn get_call_name(_: &ExprCall) -> &Ident
pub fn get_macro_name(_: &ExprMacro) -> &Ident
pub fn get_named_field_expr<'a>( fields: &'a Punctuated<FieldValue, Comma>, name: &'static str, ) -> Res<&'a Expr>
Auto Trait Implementations§
impl Freeze for ExprHelper
impl RefUnwindSafe for ExprHelper
impl Send for ExprHelper
impl Sync for ExprHelper
impl Unpin for ExprHelper
impl UnwindSafe for ExprHelper
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