pub struct ClaimedSection {
pub name: String,
pub required: bool,
}Expand description
A TOML section claimed by a loaded plugin.
Fields§
§name: StringSection name (e.g., “native-dependencies”)
required: boolWhether this section is required (error if missing)
Trait Implementations§
Source§impl Clone for ClaimedSection
impl Clone for ClaimedSection
Source§fn clone(&self) -> ClaimedSection
fn clone(&self) -> ClaimedSection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ClaimedSection
impl Debug for ClaimedSection
Source§impl PartialEq for ClaimedSection
impl PartialEq for ClaimedSection
Source§fn eq(&self, other: &ClaimedSection) -> bool
fn eq(&self, other: &ClaimedSection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ClaimedSection
impl StructuralPartialEq for ClaimedSection
Auto Trait Implementations§
impl Freeze for ClaimedSection
impl RefUnwindSafe for ClaimedSection
impl Send for ClaimedSection
impl Sync for ClaimedSection
impl Unpin for ClaimedSection
impl UnsafeUnpin for ClaimedSection
impl UnwindSafe for ClaimedSection
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.