pub struct LetView {
pub name: String,
pub params: Option<Vec<String>>,
pub expression: String,
pub span: Span,
}Expand description
A let or helper declaration as written.
Fields§
§name: StringThe name it binds.
params: Option<Vec<String>>Some for a helper let name(a, b) = ....
expression: StringThe expression as written.
span: SpanWhere the declaration is.
Trait Implementations§
impl StructuralPartialEq for LetView
Auto Trait Implementations§
impl Freeze for LetView
impl RefUnwindSafe for LetView
impl Send for LetView
impl Sync for LetView
impl Unpin for LetView
impl UnsafeUnpin for LetView
impl UnwindSafe for LetView
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