PropertyInstanceSetter

Trait PropertyInstanceSetter 

Source
pub trait PropertyInstanceSetter: PropertyInstanceGetter {
    // Required methods
    fn set_checked(&self, property_name: &str, value: Value);
    fn set(&self, property_name: &str, value: Value);
    fn set_no_propagate_checked(&self, property_name: &str, value: Value);
    fn set_no_propagate(&self, property_name: &str, value: Value);
    fn mutability(&self, property_name: &str) -> Option<Mutability>;
    fn set_mutability(&self, property_name: &str, mutability: Mutability);
}

Required Methods§

Source

fn set_checked(&self, property_name: &str, value: Value)

Sets the value of the given property by name if the property is mutable.

Source

fn set(&self, property_name: &str, value: Value)

Sets the value of the given property by name

Source

fn set_no_propagate_checked(&self, property_name: &str, value: Value)

Sets the value of the given property by name if the property is mutable. Sends the value down the stream.

Source

fn set_no_propagate(&self, property_name: &str, value: Value)

Sets the value of the given property by name. Sends the value down the stream.

Source

fn mutability(&self, property_name: &str) -> Option<Mutability>

Returns the mutability of the property by name.

Source

fn set_mutability(&self, property_name: &str, mutability: Mutability)

Sets the mutability of the property by name.

Implementors§