Lines Matching defs:Self

203     pub fn new(x: T) -> Self {  in new()
284 pub fn try_new(x: T) -> Result<Self, AllocError> { in try_new()
390 pub const fn try_new_in(x: T, alloc: A) -> Result<Self, AllocError> in try_new_in()
838 pub const fn write(mut boxed: Self, value: T) -> Box<T, A> { in write()
929 pub unsafe fn from_raw(raw: *mut T) -> Self { in from_raw()
985 pub const unsafe fn from_raw_in(raw: *mut T, alloc: A) -> Self { in from_raw_in()
1239 fn clone(&self) -> Self { in clone()
1266 fn clone_from(&mut self, source: &Self) { in clone_from()
1274 fn clone(&self) -> Self { in clone()
1400 fn from(t: T) -> Self { in from()
1414 fn from(boxed: Box<T, A>) -> Self { in from()
1537 fn from(s: Box<str, A>) -> Self { in from()
1574 fn try_from(boxed_slice: Box<[T]>) -> Result<Self, Self::Error> { in try_from()
1603 pub fn downcast<T: Any>(self) -> Result<Box<T, A>, Self> { in downcast() argument
1662 pub fn downcast<T: Any>(self) -> Result<Box<T, A>, Self> { in downcast() argument
1721 pub fn downcast<T: Any>(self) -> Result<Box<T, A>, Self> { in downcast() argument
1911 fn clone(&self) -> Self { in clone()
1916 fn clone_from(&mut self, other: &Self) { in clone_from()
1987 fn resume(mut self: Pin<&mut Self>, arg: R) -> GeneratorState<Self::Yield, Self::Return> { in resume()
2000 fn resume(mut self: Pin<&mut Self>, arg: R) -> GeneratorState<Self::Yield, Self::Return> { in resume()
2012 fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output> { in poll()
2021 fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Self::Item>> { in poll_next()