pub struct ConfigFile(/* private fields */);
Trait Implementations§
Source§impl Action for ConfigFile
impl Action for ConfigFile
Source§impl Display for ConfigFile
impl Display for ConfigFile
Source§impl File for ConfigFile
impl File for ConfigFile
fn get_filename(&self) -> Option<String>
fn set_filename<S>(&self, v: S)
Source§impl From<ReactiveEntity> for ConfigFile
impl From<ReactiveEntity> for ConfigFile
Source§impl NamespacedTypeGetter for ConfigFile
impl NamespacedTypeGetter for ConfigFile
Source§impl PropertyInstanceGetter for ConfigFile
impl PropertyInstanceGetter for ConfigFile
Source§fn get<S: Into<String>>(&self, property_name: S) -> Option<Value>
fn get<S: Into<String>>(&self, property_name: S) -> Option<Value>
Returns the json value of the given property by name
Source§fn as_bool<S: Into<String>>(&self, property_name: S) -> Option<bool>
fn as_bool<S: Into<String>>(&self, property_name: S) -> Option<bool>
Returns the boolean value of the given property by name
Source§fn as_u64<S: Into<String>>(&self, property_name: S) -> Option<u64>
fn as_u64<S: Into<String>>(&self, property_name: S) -> Option<u64>
Returns the u64 value of the given property by name
Source§fn as_i64<S: Into<String>>(&self, property_name: S) -> Option<i64>
fn as_i64<S: Into<String>>(&self, property_name: S) -> Option<i64>
Returns the i64 value of the given property by name
Source§fn as_f64<S: Into<String>>(&self, property_name: S) -> Option<f64>
fn as_f64<S: Into<String>>(&self, property_name: S) -> Option<f64>
Returns the f64 value of the given property by name
Source§fn as_string<S: Into<String>>(&self, property_name: S) -> Option<String>
fn as_string<S: Into<String>>(&self, property_name: S) -> Option<String>
Returns the string value of the given property by name
Source§impl PropertyInstanceSetter for ConfigFile
impl PropertyInstanceSetter for ConfigFile
Source§fn set_checked<S: Into<String>>(&self, property_name: S, value: Value)
fn set_checked<S: Into<String>>(&self, property_name: S, value: Value)
Sets the value of the given property by name if the property is mutable.
Source§fn set<S: Into<String>>(&self, property_name: S, value: Value)
fn set<S: Into<String>>(&self, property_name: S, value: Value)
Sets the value of the given property by name
Source§fn set_no_propagate_checked<S: Into<String>>(
&self,
property_name: S,
value: Value,
)
fn set_no_propagate_checked<S: Into<String>>( &self, property_name: S, 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<S: Into<String>>(&self, property_name: S, value: Value)
fn set_no_propagate<S: Into<String>>(&self, property_name: S, value: Value)
Sets the value of the given property by name. Sends the value down the stream.
Source§fn mutability<S: Into<String>>(&self, property_name: S) -> Option<Mutability>
fn mutability<S: Into<String>>(&self, property_name: S) -> Option<Mutability>
Returns the mutability of the property by name.
Source§fn set_mutability<S: Into<String>>(
&self,
property_name: S,
mutability: Mutability,
)
fn set_mutability<S: Into<String>>( &self, property_name: S, mutability: Mutability, )
Sets the mutability of the property by name.
Source§impl ReactiveInstanceGetter<ReactiveEntity> for ConfigFile
impl ReactiveInstanceGetter<ReactiveEntity> for ConfigFile
Source§fn get_reactive_instance(&self) -> &ReactiveEntity
fn get_reactive_instance(&self) -> &ReactiveEntity
Returns the reactive instance.
Source§impl TypeDefinitionGetter for ConfigFile
impl TypeDefinitionGetter for ConfigFile
Source§fn type_definition(&self) -> TypeDefinition
fn type_definition(&self) -> TypeDefinition
Returns the type definition of the type.
Auto Trait Implementations§
impl Freeze for ConfigFile
impl !RefUnwindSafe for ConfigFile
impl Send for ConfigFile
impl Sync for ConfigFile
impl Unpin for ConfigFile
impl !UnwindSafe for ConfigFile
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more