pub struct ForegnProc { /* private fields */ }
Expand description
A struct which holds information about procedures which are declared in procedure, which are allowed to appear there.
i.e (procedure (foreign_proc)… )
Implementations§
Source§impl ForegnProc
impl ForegnProc
pub fn new( label: Arc<String>, foregn_names: HashSet<String>, flags: ProcFlags, ) -> Self
pub fn clone_label(&self) -> Arc<String>
pub fn get_label(&self) -> &String
Sourcepub fn contains_proc(&self, proc_name: &String) -> bool
pub fn contains_proc(&self, proc_name: &String) -> bool
Verifies if procedure with name proc_name
exists in the
list of foregn_names
- declared.
Sourcepub fn is_flag_set(&self, flag: ProcFlags) -> bool
pub fn is_flag_set(&self, flag: ProcFlags) -> bool
Checks if modifier is set.
pub fn get_proc_iter(&self) -> Iter<'_, String>
Trait Implementations§
Source§impl Debug for ForegnProc
impl Debug for ForegnProc
Source§impl<'de> Deserialize<'de> for ForegnProc
impl<'de> Deserialize<'de> for ForegnProc
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 ForegnProc
impl Display for ForegnProc
Source§impl Hash for ForegnProc
impl Hash for ForegnProc
Source§impl PartialEq for ForegnProc
impl PartialEq for ForegnProc
Source§impl Serialize for ForegnProc
impl Serialize for ForegnProc
impl Eq for ForegnProc
Auto Trait Implementations§
impl Freeze for ForegnProc
impl RefUnwindSafe for ForegnProc
impl Send for ForegnProc
impl Sync for ForegnProc
impl Unpin for ForegnProc
impl UnwindSafe for ForegnProc
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> 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.