Lines Matching refs:from

89     fn from(bare: bool) -> Self {  in from()  method
95 fn from(constraint: ResolvedValueConstraint<bool>) -> Self { in from() method
101 fn from(constraint: ValueConstraint<bool>) -> Self { in from() method
109 fn from(bare: u64) -> Self { in from() method
115 fn from(constraint: ResolvedValueRangeConstraint<u64>) -> Self { in from() method
121 fn from(constraint: ValueRangeConstraint<u64>) -> Self { in from() method
129 fn from(bare: f64) -> Self { in from() method
135 fn from(constraint: ResolvedValueRangeConstraint<f64>) -> Self { in from() method
141 fn from(constraint: ValueRangeConstraint<f64>) -> Self { in from() method
149 fn from(bare: Vec<String>) -> Self { in from() method
155 fn from(bare: Vec<&str>) -> Self { in from() method
157 Self::from(bare) in from()
162 fn from(constraint: ResolvedValueSequenceConstraint<String>) -> Self { in from() method
168 fn from(constraint: ValueSequenceConstraint<String>) -> Self { in from() method
176 fn from(bare: String) -> Self { in from() method
182 fn from(bare: &'a str) -> Self { in from() method
184 Self::from(bare) in from()
189 fn from(constraint: ResolvedValueConstraint<String>) -> Self { in from() method
195 fn from(constraint: ValueConstraint<String>) -> Self { in from() method
203 fn from(settings: MediaTrackSetting) -> Self { in from() method
314 fn from(constraint: ResolvedValueConstraint<bool>) -> Self { in from() method
322 fn from(constraint: ResolvedValueRangeConstraint<u64>) -> Self { in from() method
330 fn from(constraint: ResolvedValueRangeConstraint<f64>) -> Self { in from() method
338 fn from(constraint: ResolvedValueSequenceConstraint<String>) -> Self { in from() method
346 fn from(constraint: ResolvedValueConstraint<String>) -> Self { in from() method
355 MediaTrackConstraint::from(setting) in exact_from()
362 MediaTrackConstraint::from(setting) in ideal_from()
478 mod from { module
487 Subject::from(MediaTrackSetting::Bool(true)), in setting()
491 Subject::from(MediaTrackSetting::Integer(42)), in setting()
495 Subject::from(MediaTrackSetting::Float(4.2)), in setting()
499 Subject::from(MediaTrackSetting::String("string".to_owned())), in setting()
507 Subject::from(false), in bool()
508 Subject::from(ValueConstraint::<bool>::default()), in bool()
509 Subject::from(ResolvedValueConstraint::<bool>::default()), in bool()
522 Subject::from(42_u64), in integer_range()
523 Subject::from(ValueRangeConstraint::<u64>::default()), in integer_range()
524 Subject::from(ResolvedValueRangeConstraint::<u64>::default()), in integer_range()
537 Subject::from(42.0_f64), in float_range()
538 Subject::from(ValueRangeConstraint::<f64>::default()), in float_range()
539 Subject::from(ResolvedValueRangeConstraint::<f64>::default()), in float_range()
552 Subject::from(""), in string()
553 Subject::from(String::new()), in string()
554 Subject::from(ValueConstraint::<String>::default()), in string()
555 Subject::from(ResolvedValueConstraint::<String>::default()), in string()
568 Subject::from(vec![""]), in string_sequence()
569 Subject::from(vec![String::new()]), in string_sequence()
570 Subject::from(ValueSequenceConstraint::<String>::default()), in string_sequence()
571 Subject::from(ResolvedValueSequenceConstraint::<String>::default()), in string_sequence()