pub enum LvsConstraintOption {
Value(NameComponent),
Tag(u64),
UserFn(LvsUserFnCall),
}Variants§
Value(NameComponent)
Name component must equal this literal value. Parsed from the
pre-encoded COMPONENT_VALUE TLV in the binary format — see the
note on LvsValueEdge::value.
Tag(u64)
Name component must equal the component previously bound to this pattern-edge tag id.
UserFn(LvsUserFnCall)
User function call — not supported in v0.1.0. Stored so the parser
can accept the schema and flag uses_user_functions, but never
matches anything at check time.
Trait Implementations§
Source§impl Clone for LvsConstraintOption
impl Clone for LvsConstraintOption
Source§fn clone(&self) -> LvsConstraintOption
fn clone(&self) -> LvsConstraintOption
Returns a duplicate 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 moreAuto Trait Implementations§
impl !Freeze for LvsConstraintOption
impl RefUnwindSafe for LvsConstraintOption
impl Send for LvsConstraintOption
impl Sync for LvsConstraintOption
impl Unpin for LvsConstraintOption
impl UnwindSafe for LvsConstraintOption
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