pub enum IOSettings {
Empty,
Event(IOEventSettings),
Route(IORouteSettings),
Parameter(IOParameterSettings),
Resource(IOResourceSettings),
Value(IOValueSettings),
Expression(IOExpressionSettings),
}Variants§
Empty
Event(IOEventSettings)
Route(IORouteSettings)
Parameter(IOParameterSettings)
Resource(IOResourceSettings)
Value(IOValueSettings)
Expression(IOExpressionSettings)
Implementations§
Source§impl IOSettings
impl IOSettings
pub fn is_empty(&self) -> bool
pub fn is_route(&self) -> bool
pub fn is_expression(&self) -> bool
pub fn from_f32(value: f32) -> Self
pub fn from_f64(value: f64) -> Self
pub fn from_bool(value: bool) -> Self
pub fn from_vector32(value: [f32; 3]) -> Self
pub fn from_vector64(value: [f64; 3]) -> Self
pub fn from_timer(value: SampleTimer) -> Self
pub fn from_value(value: Value) -> Self
pub fn from_event(name: String) -> Self
pub fn from_resource(name: String) -> Self
pub fn from_route(name: String) -> Self
pub fn from_parameter(name: String) -> Self
pub fn from_expression(expression: Expression) -> Self
Trait Implementations§
Source§impl Clone for IOSettings
impl Clone for IOSettings
Source§fn clone(&self) -> IOSettings
fn clone(&self) -> IOSettings
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 IOSettings
impl Debug for IOSettings
Source§impl Default for IOSettings
impl Default for IOSettings
Source§fn default() -> IOSettings
fn default() -> IOSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IOSettings
impl<'de> Deserialize<'de> for IOSettings
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 IOSettings
impl PartialEq for IOSettings
Source§impl Serialize for IOSettings
impl Serialize for IOSettings
impl Eq for IOSettings
impl StructuralPartialEq for IOSettings
Auto Trait Implementations§
impl Freeze for IOSettings
impl RefUnwindSafe for IOSettings
impl Send for IOSettings
impl Sync for IOSettings
impl Unpin for IOSettings
impl UnwindSafe for IOSettings
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