Home
last modified time | relevance | path

Searched +defs:from +defs:default (Results 51 – 75 of 1207) sorted by relevance

12345678910>>...49

/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/alloc/src/
H A Dboxed.rs1299 fn default() -> Self { in default() method
1308 fn default() -> Self { in default() method
1318 fn default() -> Self { in default() method
1507 fn from(t: T) -> Self { in from() method
1528 fn from(boxed: Box<T, A>) -> Self { in from() function
1577 fn from(slice: &[T]) -> Box<[T]> { in from() method
1592 fn from(cow: Cow<'_, [T]>) -> Box<[T]> { in from() method
1615 fn from(s: &str) -> Box<str> { in from() method
1647 fn from(cow: Cow<'_, str>) -> Box<str> { in from() method
1674 fn from(s: Box<str, A>) -> Self { in from() method
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/alloc/src/
H A Dboxed.rs1306 fn default() -> Self { in default() method
1315 fn default() -> Self { in default() method
1325 fn default() -> Self { in default() method
1514 fn from(t: T) -> Self { in from() method
1535 fn from(boxed: Box<T, A>) -> Self { in from() function
1584 fn from(slice: &[T]) -> Box<[T]> { in from() method
1599 fn from(cow: Cow<'_, [T]>) -> Box<[T]> { in from() method
1622 fn from(s: &str) -> Box<str> { in from() method
1654 fn from(cow: Cow<'_, str>) -> Box<str> { in from() method
1681 fn from(s: Box<str, A>) -> Self { in from() method
[all …]
H A Drc.rs2276 fn default() -> Rc<T> { in default() method
2288 fn default() -> Self { in default() method
2300 fn default() -> Self { in default() method
2562 fn from(t: T) -> Self { in from() method
2583 fn from(v: [T; N]) -> Rc<[T]> { in from() method
2602 fn from(v: &[T]) -> Rc<[T]> { in from() method
2620 fn from(v: &str) -> Rc<str> { in from() method
2640 fn from(v: String) -> Rc<str> { in from() method
2659 fn from(v: Box<T, A>) -> Rc<T, A> { in from() method
2678 fn from(v: Vec<T, A>) -> Rc<[T], A> { in from() method
[all …]
/aosp_15_r20/external/rust/android-crates-io/extra_versions/crates/jni/src/wrapper/objects/
Djclass.rs21 fn from(other: JClass) -> JObject { in from() method
28 fn from(other: JObject) -> Self { in from() method
34 fn default() -> Self { in default() method
Djthrowable.rs21 fn from(other: JThrowable) -> JObject { in from() method
27 fn from(other: JObject) -> Self { in from() method
33 fn default() -> Self { in default() method
Djstring.rs21 fn from(other: JString) -> JObject { in from() method
27 fn from(other: JObject) -> Self { in from() method
33 fn default() -> Self { in default() method
Djbytebuffer.rs18 fn from(other: JByteBuffer) -> JObject { in from() method
24 fn from(other: JObject) -> Self { in from() method
30 fn default() -> Self { in default() method
/aosp_15_r20/external/rust/android-crates-io/crates/clap_builder/src/builder/
Drange.rs117 fn default() -> Self { in default() method
123 fn from(fixed: usize) -> Self { in from() method
129 fn from(range: std::ops::Range<usize>) -> Self { in from() method
137 fn from(_: std::ops::RangeFull) -> Self { in from() method
145 fn from(range: std::ops::RangeFrom<usize>) -> Self { in from() method
153 fn from(range: std::ops::RangeTo<usize>) -> Self { in from() method
161 fn from(range: std::ops::RangeInclusive<usize>) -> Self { in from() method
169 fn from(range: std::ops::RangeToInclusive<usize>) -> Self { in from() method
Dstyled_str.rs153 fn default() -> Self { in default() method
160 fn from(name: std::string::String) -> Self { in from() method
166 fn from(name: &'_ std::string::String) -> Self { in from() method
174 fn from(name: &'static str) -> Self { in from() method
182 fn from(name: &'_ &'static str) -> Self { in from() method
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/clap_builder-4.5.2/src/builder/
H A Drange.rs117 fn default() -> Self { in default() method
123 fn from(fixed: usize) -> Self { in from() method
129 fn from(range: std::ops::Range<usize>) -> Self { in from() method
137 fn from(_: std::ops::RangeFull) -> Self { in from() method
145 fn from(range: std::ops::RangeFrom<usize>) -> Self { in from() method
153 fn from(range: std::ops::RangeTo<usize>) -> Self { in from() method
161 fn from(range: std::ops::RangeInclusive<usize>) -> Self { in from() method
169 fn from(range: std::ops::RangeToInclusive<usize>) -> Self { in from() method
H A Dstyled_str.rs153 fn default() -> Self { in default() method
160 fn from(name: std::string::String) -> Self { in from() method
166 fn from(name: &'_ std::string::String) -> Self { in from() method
174 fn from(name: &'static str) -> Self { in from() method
182 fn from(name: &'_ &'static str) -> Self { in from() method
/aosp_15_r20/external/rust/android-crates-io/crates/vulkano/src/sync/
Dpipeline.rs489 fn from(val: QueueFlags) -> Self { in from() method
558 fn from(val: PipelineStage) -> Self { in from() method
565 fn from(val: PipelineStages) -> Self { in from() method
844 fn from(mut val: PipelineStages) -> Self { in from() method
984 fn from(val: AccessFlags) -> Self { in from() method
1525 fn from(val: PipelineStageAccess) -> Self { in from() method
1751 fn from(val: PipelineStageAccess) -> Self { in from() method
1759 fn from(stages: PipelineStages) -> Self { in from() method
1973 fn from(access: AccessFlags) -> Self { in from() method
2260 fn default() -> Self { in default() method
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/uniffi_meta/src/
Dlib.rs242 pub default: Option<LiteralMetadata>, field
308 pub default: Option<LiteralMetadata>, field
413 pub fn from(v: u8) -> anyhow::Result<Self> { in from() method
482 fn from(value: NamespaceMetadata) -> Metadata { in from() method
488 fn from(value: UdlFile) -> Metadata { in from() method
494 fn from(value: FnMetadata) -> Metadata { in from() method
500 fn from(c: ConstructorMetadata) -> Self { in from() method
506 fn from(m: MethodMetadata) -> Self { in from() method
512 fn from(r: RecordMetadata) -> Self { in from() method
518 fn from(e: EnumMetadata) -> Self { in from() method
[all …]
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/aho-corasick-1.1.3/src/util/
H A Dsearch.rs648 fn from(haystack: &'h H) -> Input<'h> { in from() method
751 fn from(range: Range<usize>) -> Span { in from() method
758 fn from(span: Span) -> Range<usize> { in from() method
1078 fn default() -> MatchKind { in default() method
1145 fn default() -> StartKind { in default() method
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/alloc/src/
H A Drc.rs2276 fn default() -> Rc<T> { in default() method
2288 fn default() -> Self { in default() method
2300 fn default() -> Self { in default() method
2562 fn from(t: T) -> Self { in from() method
2583 fn from(v: [T; N]) -> Rc<[T]> { in from() method
2602 fn from(v: &[T]) -> Rc<[T]> { in from() method
2620 fn from(v: &str) -> Rc<str> { in from() method
2640 fn from(v: String) -> Rc<str> { in from() method
2659 fn from(v: Box<T, A>) -> Rc<T, A> { in from() method
2678 fn from(v: Vec<T, A>) -> Rc<[T], A> { in from() method
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/alloc/src/
H A Drc.rs2276 fn default() -> Rc<T> { in default() method
2288 fn default() -> Self { in default() method
2300 fn default() -> Self { in default() method
2562 fn from(t: T) -> Self { in from() method
2583 fn from(v: [T; N]) -> Rc<[T]> { in from() method
2602 fn from(v: &[T]) -> Rc<[T]> { in from() method
2620 fn from(v: &str) -> Rc<str> { in from() method
2640 fn from(v: String) -> Rc<str> { in from() method
2659 fn from(v: Box<T, A>) -> Rc<T, A> { in from() method
2678 fn from(v: Vec<T, A>) -> Rc<[T], A> { in from() method
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/once_cell/src/
Dlib.rs424 fn default() -> Self { in default() method
463 fn from(value: T) -> Self { in from() method
855 fn default() -> Lazy<T> { in default() method
904 fn default() -> OnceCell<T> { in default() method
935 fn from(value: T) -> Self { in from() method
1388 fn default() -> Lazy<T> { in default() method
/aosp_15_r20/external/rust/android-crates-io/crates/jni/src/wrapper/objects/
Djprimitive_array.rs51 fn from(other: JPrimitiveArray<'local, T>) -> JObject { in from() method
58 fn from(other: JObject) -> Self { in from() method
67 fn from(other: &'obj_ref JObject<'local>) -> Self { in from() method
74 fn default() -> Self { in default() method
/aosp_15_r20/packages/modules/Bluetooth/system/gd/rust/topshim/src/
Dsyslog.rs27 fn from(item: Level) -> Self { in from() method
33 fn from(item: Level) -> Self { in from() method
39 fn default() -> Self { in default() method
/aosp_15_r20/external/flatbuffers/rust/flexbuffers/src/
H A Dbitwidth.rs60 fn default() -> Self { in default() method
91 fn from(x: f64) -> BitWidth { in from() method
100 fn from(_: f32) -> BitWidth { in from() method
/aosp_15_r20/external/rust/android-crates-io/crates/etherparse/src/net/
Dipv4_options.rs115 fn default() -> Self { in default() method
156 fn from(_: [u8; 0]) -> Self { in from() method
194 fn from(values: [u8; 40]) -> Self { in from() method
310 fn default() { in default() function
/aosp_15_r20/tools/netsim/rust/daemon/src/bluetooth/
H A Dadvertise_settings.rs178 fn default() -> Self { in default() method
184 fn from(value: &IntervalProto) -> Self { in from() method
231 fn default() -> Self { in default() method
258 fn from(value: TxPowerLevel) -> Self { in from() method
/aosp_15_r20/external/rust/android-crates-io/crates/vulkano/src/pipeline/graphics/
Drender_pass.rs26 fn from(val: Subpass) -> Self { in from() method
33 fn from(val: PipelineRenderingCreateInfo) -> Self { in from() method
77 fn default() -> Self { in default() method
/aosp_15_r20/external/rust/android-crates-io/crates/vulkano/src/pipeline/
Dlayout.rs1009 fn from(err: OomError) -> PipelineLayoutCreationError { in from() method
1015 fn from(err: VulkanError) -> PipelineLayoutCreationError { in from() method
1029 fn from(err: RequirementNotMet) -> Self { in from() method
1132 fn default() -> Self { in default() method
1166 fn default() -> Self { in default() method
/aosp_15_r20/external/rust/android-crates-io/crates/vulkano/src/sampler/
Dmod.rs965 fn from(err: OomError) -> Self { in from() method
971 fn from(err: VulkanError) -> Self { in from() method
982 fn from(err: RequirementNotMet) -> Self { in from() method
1133 fn default() -> Self { in default() method
1286 fn from(value: ComponentMapping) -> Self { in from() method
1328 fn default() -> ComponentSwizzle { in default() method

12345678910>>...49