Struct typeql::pattern::SubConstraint
source · pub struct SubConstraint {
pub type_: TypeReference,
pub is_explicit: IsExplicit,
}Fields§
§type_: TypeReference§is_explicit: IsExplicitImplementations§
Trait Implementations§
source§impl Clone for SubConstraint
impl Clone for SubConstraint
source§fn clone(&self) -> SubConstraint
fn clone(&self) -> SubConstraint
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 SubConstraint
impl Debug for SubConstraint
source§impl Display for SubConstraint
impl Display for SubConstraint
source§impl From<(ConceptVariable, IsExplicit)> for SubConstraint
impl From<(ConceptVariable, IsExplicit)> for SubConstraint
source§fn from((type_, is_explicit): (ConceptVariable, IsExplicit)) -> Self
fn from((type_, is_explicit): (ConceptVariable, IsExplicit)) -> Self
Converts to this type from the input type.
source§impl<T: Into<Label>> From<(T, IsExplicit)> for SubConstraint
impl<T: Into<Label>> From<(T, IsExplicit)> for SubConstraint
source§fn from((type_, is_explicit): (T, IsExplicit)) -> Self
fn from((type_, is_explicit): (T, IsExplicit)) -> Self
Converts to this type from the input type.
source§impl From<(TypeReference, IsExplicit)> for SubConstraint
impl From<(TypeReference, IsExplicit)> for SubConstraint
source§fn from((type_, is_explicit): (TypeReference, IsExplicit)) -> Self
fn from((type_, is_explicit): (TypeReference, IsExplicit)) -> Self
Converts to this type from the input type.
source§impl From<ConceptVariable> for SubConstraint
impl From<ConceptVariable> for SubConstraint
source§fn from(type_: ConceptVariable) -> Self
fn from(type_: ConceptVariable) -> Self
Converts to this type from the input type.
source§impl From<TypeReference> for SubConstraint
impl From<TypeReference> for SubConstraint
source§fn from(type_: TypeReference) -> Self
fn from(type_: TypeReference) -> Self
Converts to this type from the input type.
source§impl PartialEq for SubConstraint
impl PartialEq for SubConstraint
source§fn eq(&self, other: &SubConstraint) -> bool
fn eq(&self, other: &SubConstraint) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Validatable for SubConstraint
impl Validatable for SubConstraint
impl Eq for SubConstraint
impl StructuralEq for SubConstraint
impl StructuralPartialEq for SubConstraint
Auto Trait Implementations§
impl RefUnwindSafe for SubConstraint
impl Send for SubConstraint
impl Sync for SubConstraint
impl Unpin for SubConstraint
impl UnwindSafe for SubConstraint
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