Struct mathml::acset::GeneralSemantics
source · pub struct GeneralSemantics {
pub states: BTreeSet<State>,
pub parameters: Option<Vec<Parameter>>,
}
Fields§
§states: BTreeSet<State>
§parameters: Option<Vec<Parameter>>
Trait Implementations§
source§impl Clone for GeneralSemantics
impl Clone for GeneralSemantics
source§fn clone(&self) -> GeneralSemantics
fn clone(&self) -> GeneralSemantics
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 GeneralSemantics
impl Debug for GeneralSemantics
source§impl Default for GeneralSemantics
impl Default for GeneralSemantics
source§fn default() -> GeneralSemantics
fn default() -> GeneralSemantics
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GeneralSemantics
impl<'de> Deserialize<'de> for GeneralSemantics
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 JsonSchema for GeneralSemantics
impl JsonSchema for GeneralSemantics
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl Ord for GeneralSemantics
impl Ord for GeneralSemantics
source§fn cmp(&self, other: &GeneralSemantics) -> Ordering
fn cmp(&self, other: &GeneralSemantics) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for GeneralSemantics
impl PartialEq for GeneralSemantics
source§fn eq(&self, other: &GeneralSemantics) -> bool
fn eq(&self, other: &GeneralSemantics) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for GeneralSemantics
impl PartialOrd for GeneralSemantics
source§fn partial_cmp(&self, other: &GeneralSemantics) -> Option<Ordering>
fn partial_cmp(&self, other: &GeneralSemantics) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for GeneralSemantics
impl Serialize for GeneralSemantics
source§impl<'__s> ToSchema<'__s> for GeneralSemantics
impl<'__s> ToSchema<'__s> for GeneralSemantics
impl Eq for GeneralSemantics
impl StructuralPartialEq for GeneralSemantics
Auto Trait Implementations§
impl RefUnwindSafe for GeneralSemantics
impl Send for GeneralSemantics
impl Sync for GeneralSemantics
impl Unpin for GeneralSemantics
impl UnwindSafe for GeneralSemantics
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.