Struct biodivine_sketchbook::sketchbook::ids::StatPropertyId
source · pub struct StatPropertyId(BaseId);
Expand description
A type-safe (string-based) identifier of a StatProperty
inside a particular model.
Warning: Do not mix identifiers between different models/sketches.
Tuple Fields§
§0: BaseId
Implementations§
Trait Implementations§
source§impl Clone for StatPropertyId
impl Clone for StatPropertyId
source§fn clone(&self) -> StatPropertyId
fn clone(&self) -> StatPropertyId
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 StatPropertyId
impl Debug for StatPropertyId
source§impl<'de> Deserialize<'de> for StatPropertyId
impl<'de> Deserialize<'de> for StatPropertyId
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 StatPropertyId
impl Display for StatPropertyId
source§impl FromStr for StatPropertyId
impl FromStr for StatPropertyId
source§impl Hash for StatPropertyId
impl Hash for StatPropertyId
source§impl Ord for StatPropertyId
impl Ord for StatPropertyId
source§fn cmp(&self, other: &StatPropertyId) -> Ordering
fn cmp(&self, other: &StatPropertyId) -> 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 StatPropertyId
impl PartialEq for StatPropertyId
source§impl PartialOrd for StatPropertyId
impl PartialOrd for StatPropertyId
source§impl Serialize for StatPropertyId
impl Serialize for StatPropertyId
impl Eq for StatPropertyId
impl StructuralPartialEq for StatPropertyId
Auto Trait Implementations§
impl Freeze for StatPropertyId
impl RefUnwindSafe for StatPropertyId
impl Send for StatPropertyId
impl Sync for StatPropertyId
impl Unpin for StatPropertyId
impl UnwindSafe for StatPropertyId
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
§fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§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<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.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.