Struct shm_rs::static_scheme::scheme::Define
source · pub struct Define { /* private fields */ }Expand description
A struct which holds information about definitions.
Implementations§
source§impl Define
impl Define
pub fn new( name: String, data: GenericDataTypes, proc_binds: Option<HashSet<String>> ) -> Self
pub fn clone_name(&self) -> Rc<String>
pub fn clone_data(&self) -> GenericDataTypes
pub fn get_name(&self) -> &String
pub fn get_data(&self) -> &GenericDataTypes
pub fn get_binds(&self) -> Option<&HashSet<String>>
sourcepub fn is_in_proc_scope(&self, proc_name: &String) -> bool
pub fn is_in_proc_scope(&self, proc_name: &String) -> bool
Returns true if proc_name is defined in the list
of binded procedures or if instance is not limited to any
procedure.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Define
impl<'de> Deserialize<'de> for Define
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 PartialEq for Define
impl PartialEq for Define
impl Eq for Define
Auto Trait Implementations§
impl RefUnwindSafe for Define
impl !Send for Define
impl !Sync for Define
impl Unpin for Define
impl UnwindSafe for Define
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 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.