Struct trustfall_core::interpreter::RequiredProperty
source · #[non_exhaustive]pub struct RequiredProperty {
pub name: Arc<str>,
}
Expand description
Represents a required property of a specific vertex
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Arc<str>
Implementations§
Trait Implementations§
source§impl Clone for RequiredProperty
impl Clone for RequiredProperty
source§fn clone(&self) -> RequiredProperty
fn clone(&self) -> RequiredProperty
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 RequiredProperty
impl Debug for RequiredProperty
source§impl Hash for RequiredProperty
impl Hash for RequiredProperty
source§impl PartialEq for RequiredProperty
impl PartialEq for RequiredProperty
source§fn eq(&self, other: &RequiredProperty) -> bool
fn eq(&self, other: &RequiredProperty) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RequiredProperty
impl StructuralEq for RequiredProperty
impl StructuralPartialEq for RequiredProperty
Auto Trait Implementations§
impl RefUnwindSafe for RequiredProperty
impl Send for RequiredProperty
impl Sync for RequiredProperty
impl Unpin for RequiredProperty
impl UnwindSafe for RequiredProperty
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.