pub struct Expr(/* private fields */);Expand description
Uma expressão já lida (lida uma vez, avaliada em cada registro).
Implementations§
Source§impl Expr
impl Expr
Sourcepub fn parse(text: &str) -> Result<Expr, String>
pub fn parse(text: &str) -> Result<Expr, String>
Lê a expressão. O erro diz onde está o problema.
Sourcepub fn fields(&self) -> Vec<String>
pub fn fields(&self) -> Vec<String>
Nomes de campo usados (para conferir que existem); os parâmetros ficam de fora.
Trait Implementations§
impl StructuralPartialEq for Expr
Auto Trait Implementations§
impl Forget for Expr
impl Freeze for Exprwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const Node is !null: Freeze,
PhantomData<Node>: Freeze,
impl Move for Expr
impl RefUnwindSafe for Expr
impl Send for Expr
impl Sync for Expr
impl Unpin for Expr
impl UnsafeUnpin for Exprwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const Node is !null: UnsafeUnpin,
PhantomData<Node>: UnsafeUnpin,
impl UnwindSafe for Exprwhere
RawVecInner: UnwindSafe,
BoxRaw<Node>: 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