Enum bulwark_config::Reference
source · pub enum Reference {
Plugin(String),
Preset(String),
Missing(String),
}
Expand description
Wraps reference strings and differentiates what the reference points to.
Variants§
Plugin(String)
A reference to a Plugin
.
Preset(String)
A reference to a Preset
.
Missing(String)
A reference that could not be resolved.
Trait Implementations§
source§impl PartialEq for Reference
impl PartialEq for Reference
impl Eq for Reference
impl StructuralEq for Reference
impl StructuralPartialEq for Reference
Auto Trait Implementations§
impl RefUnwindSafe for Reference
impl Send for Reference
impl Sync for Reference
impl Unpin for Reference
impl UnwindSafe for Reference
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.