Lines Matching refs:Atomic
287 pub struct Atomic<T: ?Sized + Pointable> { struct
292 unsafe impl<T: ?Sized + Pointable + Send + Sync> Send for Atomic<T> {} argument
293 unsafe impl<T: ?Sized + Pointable + Send + Sync> Sync for Atomic<T> {} implementation
295 impl<T> Atomic<T> { impl
305 pub fn new(init: T) -> Atomic<T> { in new()
310 impl<T: ?Sized + Pointable> Atomic<T> { impl
320 pub fn init(init: T::Init) -> Atomic<T> { in init()
343 pub fn null() -> Atomic<T> { in null()
811 impl<T: ?Sized + Pointable> fmt::Debug for Atomic<T> { implementation
823 impl<T: ?Sized + Pointable> fmt::Pointer for Atomic<T> { implementation
831 impl<T: ?Sized + Pointable> Clone for Atomic<T> { implementation
838 Atomic::from_usize(data) in clone()
842 impl<T: ?Sized + Pointable> Default for Atomic<T> { implementation
844 Atomic::null() in default()
848 impl<T: ?Sized + Pointable> From<Owned<T>> for Atomic<T> { implementation
865 impl<T> From<Box<T>> for Atomic<T> { implementation
871 impl<T> From<T> for Atomic<T> { implementation
877 impl<'g, T: ?Sized + Pointable> From<Shared<'g, T>> for Atomic<T> { implementation
892 impl<T> From<*const T> for Atomic<T> { implementation
1544 use super::Atomic; in const_atomic_null()
1545 const _: Atomic<u8> = Atomic::<u8>::null(); in const_atomic_null()