pub enum InvalidDblModelMorphism {
Ob(QualifiedName),
Mor(QualifiedName),
Dom(QualifiedName),
Cod(QualifiedName),
ObType(QualifiedName),
MorType(QualifiedName),
Eq(QualifiedName),
}Expand description
An invalid assignment in a morphism between models of a double theory.
Variants§
Ob(QualifiedName)
An object generator not mapped to an object in the codomain model.
Mor(QualifiedName)
A morphism generator not mapped to a morphism in the codomain model.
Dom(QualifiedName)
A morphism generator whose domain is not preserved.
Cod(QualifiedName)
A morphism generator whose codomain is not preserved.
ObType(QualifiedName)
An object generator whose type is not preserved.
MorType(QualifiedName)
A morphism generator whose type is not preserved.
Eq(QualifiedName)
A path equation in domain presentation that is not respected.
Trait Implementations§
Source§impl Clone for InvalidDblModelMorphism
impl Clone for InvalidDblModelMorphism
Source§fn clone(&self) -> InvalidDblModelMorphism
fn clone(&self) -> InvalidDblModelMorphism
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InvalidDblModelMorphism
impl Debug for InvalidDblModelMorphism
Source§impl<'de> Deserialize<'de> for InvalidDblModelMorphism
impl<'de> Deserialize<'de> for InvalidDblModelMorphism
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for InvalidDblModelMorphism
impl Display for InvalidDblModelMorphism
Source§impl Error for InvalidDblModelMorphism
impl Error for InvalidDblModelMorphism
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<InvalidDblModelMorphism> for JsValuewhere
InvalidDblModelMorphism: Serialize,
impl From<InvalidDblModelMorphism> for JsValuewhere
InvalidDblModelMorphism: Serialize,
Source§fn from(value: InvalidDblModelMorphism) -> Self
fn from(value: InvalidDblModelMorphism) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for InvalidDblModelMorphismwhere
Self: DeserializeOwned,
impl FromWasmAbi for InvalidDblModelMorphismwhere
Self: DeserializeOwned,
Source§impl IntoWasmAbi for &InvalidDblModelMorphismwhere
InvalidDblModelMorphism: Serialize,
impl IntoWasmAbi for &InvalidDblModelMorphismwhere
InvalidDblModelMorphism: Serialize,
Source§impl IntoWasmAbi for InvalidDblModelMorphismwhere
InvalidDblModelMorphism: Serialize,
impl IntoWasmAbi for InvalidDblModelMorphismwhere
InvalidDblModelMorphism: Serialize,
Source§impl OptionFromWasmAbi for InvalidDblModelMorphismwhere
Self: DeserializeOwned,
impl OptionFromWasmAbi for InvalidDblModelMorphismwhere
Self: DeserializeOwned,
Source§impl PartialEq for InvalidDblModelMorphism
impl PartialEq for InvalidDblModelMorphism
Source§fn eq(&self, other: &InvalidDblModelMorphism) -> bool
fn eq(&self, other: &InvalidDblModelMorphism) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RefFromWasmAbi for InvalidDblModelMorphismwhere
Self: DeserializeOwned,
impl RefFromWasmAbi for InvalidDblModelMorphismwhere
Self: DeserializeOwned,
Source§type Abi = <JsType as RefFromWasmAbi>::Abi
type Abi = <JsType as RefFromWasmAbi>::Abi
The Wasm ABI type references to
Self are recovered from.Source§type Anchor = SelfOwner<InvalidDblModelMorphism>
type Anchor = SelfOwner<InvalidDblModelMorphism>
The type that holds the reference to
Self for the duration of the
invocation of the function that has an &Self parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl Serialize for InvalidDblModelMorphism
impl Serialize for InvalidDblModelMorphism
Source§impl Tsify for InvalidDblModelMorphism
impl Tsify for InvalidDblModelMorphism
const DECL: &'static str = "/**\n * An invalid assignment in a morphism between models of a double theory.\n */\nexport type InvalidDblModelMorphism = { tag: \"Ob\"; content: QualifiedName } | { tag: \"Mor\"; content: QualifiedName } | { tag: \"Dom\"; content: QualifiedName } | { tag: \"Cod\"; content: QualifiedName } | { tag: \"ObType\"; content: QualifiedName } | { tag: \"MorType\"; content: QualifiedName } | { tag: \"Eq\"; content: QualifiedName };"
const SERIALIZATION_CONFIG: SerializationConfig
type JsType = JsType
fn into_js(&self) -> Result<Self::JsType, Error>where
Self: Serialize,
fn from_js<T>(js: T) -> Result<Self, Error>
Source§impl VectorFromWasmAbi for InvalidDblModelMorphismwhere
Self: DeserializeOwned,
impl VectorFromWasmAbi for InvalidDblModelMorphismwhere
Self: DeserializeOwned,
type Abi = <JsType as VectorFromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[Self]>
Source§impl VectorIntoWasmAbi for InvalidDblModelMorphismwhere
InvalidDblModelMorphism: Serialize,
impl VectorIntoWasmAbi for InvalidDblModelMorphismwhere
InvalidDblModelMorphism: Serialize,
type Abi = <JsType as VectorIntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[Self]>) -> Self::Abi
Source§impl WasmDescribeVector for InvalidDblModelMorphism
impl WasmDescribeVector for InvalidDblModelMorphism
impl Eq for InvalidDblModelMorphism
impl StructuralPartialEq for InvalidDblModelMorphism
Auto Trait Implementations§
impl Freeze for InvalidDblModelMorphism
impl RefUnwindSafe for InvalidDblModelMorphism
impl Send for InvalidDblModelMorphism
impl Sync for InvalidDblModelMorphism
impl Unpin for InvalidDblModelMorphism
impl UnsafeUnpin for InvalidDblModelMorphism
impl UnwindSafe for InvalidDblModelMorphism
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.