Home
last modified time | relevance | path

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

/rust/alloc/collections/
Dmod.rs118 fn from(kind: TryReserveErrorKind) -> Self { in from() method
127 fn from(_: LayoutError) -> Self { in from() method
/rust/kernel/
Derror.rs34 fn from(_: TryReserveError) -> Error { in from() method
/rust/alloc/vec/
Dmod.rs2967 fn from(s: &[T]) -> Vec<T> { in from() method
2971 fn from(s: &[T]) -> Vec<T> { in from() method
2987 fn from(s: &mut [T]) -> Vec<T> { in from() method
2991 fn from(s: &mut [T]) -> Vec<T> { in from() method
3007 fn from(s: [T; N]) -> Vec<T> { in from() method
3012 fn from(s: [T; N]) -> Vec<T> { in from() method
3036 fn from(s: Cow<'a, [T]>) -> Vec<T> { in from() function
3054 fn from(s: Box<[T], A>) -> Self { in from() method
3074 fn from(v: Vec<T, A>) -> Self { in from() method
3089 fn from(s: &str) -> Vec<u8> { in from() method
/rust/alloc/
Dboxed.rs1400 fn from(t: T) -> Self { in from() method
1414 fn from(boxed: Box<T, A>) -> Self { in from() function
1435 fn from(slice: &[T]) -> Box<[T]> { in from() method
1455 fn from(cow: Cow<'_, [T]>) -> Box<[T]> { in from() method
1478 fn from(s: &str) -> Box<str> { in from() method
1510 fn from(cow: Cow<'_, str>) -> Box<str> { in from() method
1537 fn from(s: Box<str, A>) -> Self { in from() method
1556 fn from(array: [T; N]) -> Box<[T]> { in from() method