#[non_exhaustive]pub struct ExpressionSpec {
pub name: Parameter,
pub params: Vec<Parameter>,
pub hash: HashMap<String, Parameter>,
pub block_param: Option<BlockParam>,
pub omit_pre_ws: bool,
pub omit_pro_ws: bool,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Parameter
§params: Vec<Parameter>
§hash: HashMap<String, Parameter>
§block_param: Option<BlockParam>
§omit_pre_ws: bool
§omit_pro_ws: bool
Trait Implementations§
Source§impl Clone for ExpressionSpec
impl Clone for ExpressionSpec
Source§fn clone(&self) -> ExpressionSpec
fn clone(&self) -> ExpressionSpec
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ExpressionSpec
impl Debug for ExpressionSpec
Source§impl PartialEq for ExpressionSpec
impl PartialEq for ExpressionSpec
impl Eq for ExpressionSpec
impl StructuralPartialEq for ExpressionSpec
Auto Trait Implementations§
impl Freeze for ExpressionSpec
impl RefUnwindSafe for ExpressionSpec
impl Send for ExpressionSpec
impl Sync for ExpressionSpec
impl Unpin for ExpressionSpec
impl UnwindSafe for ExpressionSpec
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