pub enum PropertySource {
    Caption,
    Body,
    Header {
        name: String,
        mutable: bool,
    },
    Subsection,
    Default,
}Variants§
Implementations§
Source§impl PropertySource
 
impl PropertySource
pub fn is_equal(&self, other: &PropertySource) -> bool
pub fn is_default(&self) -> bool
Trait Implementations§
Source§impl Clone for PropertySource
 
impl Clone for PropertySource
Source§fn clone(&self) -> PropertySource
 
fn clone(&self) -> PropertySource
Returns a duplicate of the value. Read more
1.0.0 · 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 PropertySource
 
impl Debug for PropertySource
Source§impl Default for PropertySource
 
impl Default for PropertySource
Source§fn default() -> PropertySource
 
fn default() -> PropertySource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PropertySource
 
impl<'de> Deserialize<'de> for PropertySource
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 PartialEq for PropertySource
 
impl PartialEq for PropertySource
Source§impl Serialize for PropertySource
 
impl Serialize for PropertySource
impl StructuralPartialEq for PropertySource
Auto Trait Implementations§
impl Freeze for PropertySource
impl RefUnwindSafe for PropertySource
impl Send for PropertySource
impl Sync for PropertySource
impl Unpin for PropertySource
impl UnwindSafe for PropertySource
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