pub struct FieldsGenRule {
pub items: NamedFieldGF,
}Fields§
§items: NamedFieldGFImplementations§
Source§impl FieldsGenRule
impl FieldsGenRule
pub fn load(path: &str) -> WplCodeResult<Self>
pub fn new() -> Self
pub fn add(&mut self, key: &str, value: FieldGenConf)
Trait Implementations§
Source§impl Clone for FieldsGenRule
impl Clone for FieldsGenRule
Source§fn clone(&self) -> FieldsGenRule
fn clone(&self) -> FieldsGenRule
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 FieldsGenRule
impl Debug for FieldsGenRule
Source§impl Default for FieldsGenRule
impl Default for FieldsGenRule
Source§impl<'de> Deserialize<'de> for FieldsGenRule
impl<'de> Deserialize<'de> for FieldsGenRule
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 FieldsGenRule
impl PartialEq for FieldsGenRule
Source§impl Serialize for FieldsGenRule
impl Serialize for FieldsGenRule
impl StructuralPartialEq for FieldsGenRule
Auto Trait Implementations§
impl Freeze for FieldsGenRule
impl RefUnwindSafe for FieldsGenRule
impl Send for FieldsGenRule
impl Sync for FieldsGenRule
impl Unpin for FieldsGenRule
impl UnsafeUnpin for FieldsGenRule
impl UnwindSafe for FieldsGenRule
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