Home
last modified time | relevance | path

Searched defs:from (Results 1 – 25 of 93) sorted by relevance

1234

/webrtc/constraints/src/
H A Dconstraint.rs89 fn from(bare: bool) -> Self { in from() method
101 fn from(constraint: ValueConstraint<bool>) -> Self { in from() method
109 fn from(bare: u64) -> Self { in from() method
129 fn from(bare: 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
176 fn from(bare: String) -> Self { in from() method
182 fn from(bare: &'a str) -> Self { in from() method
195 fn from(constraint: ValueConstraint<String>) -> Self { in from() method
203 fn from(settings: MediaTrackSetting) -> Self { in from() method
[all …]
H A Dcapability.rs51 fn from(capability: bool) -> Self { in from() method
57 fn from(capability: Vec<bool>) -> Self { in from() method
63 fn from(capability: RangeInclusive<u64>) -> Self { in from() method
69 fn from(capability: RangeInclusive<f64>) -> Self { in from() method
75 fn from(capability: String) -> Self { in from() method
81 fn from(capability: &'a str) -> Self { in from() method
88 fn from(capability: Vec<String>) -> Self { in from() method
94 fn from(capability: Vec<&str>) -> Self { in from() method
106 mod from { module
H A Dsetting.rs40 fn from(setting: bool) -> Self { in from() method
46 fn from(setting: i64) -> Self { in from() method
52 fn from(setting: f64) -> Self { in from() method
58 fn from(setting: String) -> Self { in from() method
64 fn from(setting: &'a str) -> Self { in from() method
75 mod from { module
H A Dproperty.rs19 fn from(borrowed: &MediaTrackProperty) -> Self { in from() method
26 fn from(owned: String) -> Self { in from() method
36 fn from(borrowed: &str) -> Self { in from() method
244 mod from { module
/webrtc/constraints/src/capability/
H A Dvalue_sequence.rs25 fn from(value: T) -> Self { in from() method
33 fn from(values: Vec<T>) -> Self { in from() method
55 mod from { module
H A Dvalue_range.rs49 fn from(range: RangeInclusive<T>) -> Self { in from() method
59 fn from(range: RangeFrom<T>) -> Self { in from() method
68 fn from(range: RangeToInclusive<T>) -> Self { in from() method
113 mod from { module
H A Dvalue.rs27 fn from(value: T) -> Self { in from() method
33 fn from(value: &str) -> Self { in from() method
/webrtc/media/src/audio/
H A Dsample.rs14 fn from(raw: i16) -> Self { in from() method
21 fn from(raw: f32) -> Self { in from() method
62 fn from(sample: Sample<i16>) -> Self { in from() method
75 fn from(sample: Sample<f32>) -> Self { in from() method
/webrtc/webrtc/src/peer_connection/
H A Dpeer_connection_state.rs47 fn from(raw: &str) -> Self { in from() method
61 fn from(v: u8) -> Self { in from() method
101 fn from(v: u8) -> Self { in from() method
/webrtc/dtls/src/
H A Derror.rs190 fn from(e: io::Error) -> Self { in from() method
196 fn from(e: sec1::Error) -> Self { in from() method
212 fn from(e: p256::elliptic_curve::Error) -> Self { in from() method
218 fn from(e: block_modes::InvalidKeyIvLength) -> Self { in from() method
223 fn from(e: block_modes::BlockModeError) -> Self { in from() method
230 fn from(e: MpscSendError<T>) -> Self { in from() method
H A Dclient_certificate_type.rs9 fn from(val: u8) -> Self { in from() method
/webrtc/webrtc/src/ice_transport/
H A Dice_transport_state.rs56 fn from(raw: &str) -> Self { in from() method
71 fn from(v: u8) -> Self { in from() method
109 fn from(raw: ConnectionState) -> Self { in from() method
H A Dice_gatherer_state.rs31 fn from(raw: &str) -> Self { in from() method
43 fn from(v: u8) -> Self { in from() method
H A Dice_candidate_type.rs49 fn from(raw: &str) -> Self { in from() method
61 fn from(candidate_type: CandidateType) -> Self { in from() method
H A Dice_connection_state.rs54 fn from(raw: &str) -> Self { in from() method
69 fn from(v: u8) -> Self { in from() method
/webrtc/data/src/
H A Derror.rs36 fn from(e: Error) -> Self { in from() method
42 fn from(error: Error) -> Self { in from() method
/webrtc/webrtc/src/sctp_transport/
H A Dsctp_transport_state.rs31 fn from(raw: &str) -> Self { in from() method
42 fn from(v: u8) -> Self { in from() method
/webrtc/dtls/src/curve/
H A Dmod.rs11 fn from(val: u8) -> Self { in from() method
/webrtc/webrtc/src/data_channel/
H A Ddata_channel_state.rs39 fn from(v: u8) -> Self { in from() method
51 fn from(raw: &str) -> Self { in from() method
/webrtc/webrtc/src/dtls_transport/
H A Ddtls_transport_state.rs39 fn from(raw: &str) -> Self { in from() method
52 fn from(v: u8) -> Self { in from() method
/webrtc/ice/src/state/
H A Dmod.rs56 fn from(v: u8) -> Self { in from() method
86 fn from(v: u8) -> Self { in from() method
/webrtc/sctp/src/param/
H A Dparam_type.rs100 fn from(v: u16) -> ParamType { in from() method
136 fn from(v: ParamType) -> u16 { in from() method
/webrtc/dtls/examples/hub/src/
H A Dutilities.rs29 fn from(e: Error) -> Self { in from() method
35 fn from(e: io::Error) -> Self { in from() method
/webrtc/stun/src/
H A Derror.rs88 fn from(e: io::Error) -> Self { in from() method
95 fn from(e: MpscSendError<T>) -> Self { in from() method
/webrtc/constraints/src/constraints/
H A Dtrack.rs71 fn from(flag: bool) -> Self { in from() method
77 fn from(constraints: GenericMediaTrackConstraints<T>) -> Self { in from() method
196 mod from { module

1234