Trait libspa::utils::dict::ParsableValue
source · pub trait ParsableValue: Copy {
// Required method
fn parse_value(value: &str) -> Option<Self>;
}
Expand description
Trait implemented on types which can be returned by DictRef::parse
.
Required Methods§
sourcefn parse_value(value: &str) -> Option<Self>
fn parse_value(value: &str) -> Option<Self>
Try parsing value
to convert it to the requested type.
Object Safety§
This trait is not object safe.