pub struct PropertiesMapping { /* private fields */ }Expand description
Mapping of a Properties interface.
Implementations§
Source§impl PropertiesMapping
impl PropertiesMapping
Sourcepub fn allow_unset(&self) -> bool
pub fn allow_unset(&self) -> bool
Returns true if the property can be unset.
Trait Implementations§
Source§impl Clone for PropertiesMapping
impl Clone for PropertiesMapping
Source§fn clone(&self) -> PropertiesMapping
fn clone(&self) -> PropertiesMapping
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 PropertiesMapping
impl Debug for PropertiesMapping
Source§impl<'a> From<&'a PropertiesMapping> for Mapping<Cow<'a, str>>
impl<'a> From<&'a PropertiesMapping> for Mapping<Cow<'a, str>>
Source§fn from(value: &'a PropertiesMapping) -> Self
fn from(value: &'a PropertiesMapping) -> Self
Converts to this type from the input type.
Source§impl InterfaceMapping for PropertiesMapping
impl InterfaceMapping for PropertiesMapping
Source§fn mapping_type(&self) -> MappingType
fn mapping_type(&self) -> MappingType
Returns the mapping type.
Source§impl PartialEq for PropertiesMapping
impl PartialEq for PropertiesMapping
Source§fn eq(&self, other: &PropertiesMapping) -> bool
fn eq(&self, other: &PropertiesMapping) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<T> TryFrom<Mapping<T>> for PropertiesMapping
impl<T> TryFrom<Mapping<T>> for PropertiesMapping
impl Eq for PropertiesMapping
impl StructuralPartialEq for PropertiesMapping
Auto Trait Implementations§
impl Freeze for PropertiesMapping
impl RefUnwindSafe for PropertiesMapping
impl Send for PropertiesMapping
impl Sync for PropertiesMapping
impl Unpin for PropertiesMapping
impl UnsafeUnpin for PropertiesMapping
impl UnwindSafe for PropertiesMapping
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.