pub struct SaveJson(/* private fields */);
Implementations§
Trait Implementations§
Source§impl File for SaveJson
impl File for SaveJson
fn get_filename(&self) -> Option<String>
fn set_filename<S>(&self, v: S)
Source§impl PropertyInstanceGetter for SaveJson
impl PropertyInstanceGetter for SaveJson
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 SaveJson
impl PropertyInstanceSetter for SaveJson
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.
Auto Trait Implementations§
impl Freeze for SaveJson
impl !RefUnwindSafe for SaveJson
impl Send for SaveJson
impl Sync for SaveJson
impl Unpin for SaveJson
impl !UnwindSafe for SaveJson
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