pub struct DCKeywordList {
keywords: Vec<DCKeyword>,
}Expand description
This is a list of DCKeyword structures, which represent
communication keywords that may be set on a particular field.
Fields§
§keywords: Vec<DCKeyword>Implementations§
Source§impl DCKeywordList
impl DCKeywordList
Sourcepub fn get_num_keywords(&self) -> usize
pub fn get_num_keywords(&self) -> usize
Returns the number of keywords in this keyword list.
Sourcepub fn has_keyword(&self, kw: IdentifyKeyword) -> bool
pub fn has_keyword(&self, kw: IdentifyKeyword) -> bool
Returns true if given keyword identifier or struct
is present in this keyword list.
Trait Implementations§
Source§impl Debug for DCKeywordList
impl Debug for DCKeywordList
Source§impl Display for DCKeywordList
impl Display for DCKeywordList
Source§impl LegacyDCHash for DCKeywordList
impl LegacyDCHash for DCKeywordList
Source§fn generate_hash(&self, hashgen: &mut DCHashGenerator)
fn generate_hash(&self, hashgen: &mut DCHashGenerator)
Accumulates the properties of this DC element into the file hash.
Auto Trait Implementations§
impl Freeze for DCKeywordList
impl RefUnwindSafe for DCKeywordList
impl Send for DCKeywordList
impl Sync for DCKeywordList
impl Unpin for DCKeywordList
impl UnwindSafe for DCKeywordList
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