Struct rasn_compiler::intermediate::constraints::PatternConstraint
source · pub struct PatternConstraint {
pub pattern: String,
}
Expand description
Representation of a pattern constraint See: ITU-T X.680 (02/2021) 51.9
Fields§
§pattern: String
Trait Implementations§
source§impl Clone for PatternConstraint
impl Clone for PatternConstraint
source§fn clone(&self) -> PatternConstraint
fn clone(&self) -> PatternConstraint
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 PatternConstraint
impl Debug for PatternConstraint
source§impl From<&str> for PatternConstraint
impl From<&str> for PatternConstraint
source§impl PartialEq for PatternConstraint
impl PartialEq for PatternConstraint
source§fn eq(&self, other: &PatternConstraint) -> bool
fn eq(&self, other: &PatternConstraint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PatternConstraint
Auto Trait Implementations§
impl RefUnwindSafe for PatternConstraint
impl Send for PatternConstraint
impl Sync for PatternConstraint
impl Unpin for PatternConstraint
impl UnwindSafe for PatternConstraint
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