pub struct WrappedRefCell<T>(pub T);
Tuple Fields§
§0: T
Trait Implementations§
Source§impl<T: Deref<Target = RefCell<U>>, U: Clock> Clock for &WrappedRefCell<T>
impl<T: Deref<Target = RefCell<U>>, U: Clock> Clock for &WrappedRefCell<T>
Source§impl<T: Clone> Clone for WrappedRefCell<T>
impl<T: Clone> Clone for WrappedRefCell<T>
Source§fn clone(&self) -> WrappedRefCell<T>
fn clone(&self) -> WrappedRefCell<T>
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<T: Deref<Target = RefCell<U>>, U: DateTimeAccess> DateTimeAccess for &WrappedRefCell<T>
impl<T: Deref<Target = RefCell<U>>, U: DateTimeAccess> DateTimeAccess for &WrappedRefCell<T>
Source§type Error = WrappedRefCellError<<U as DateTimeAccess>::Error>
type Error = WrappedRefCellError<<U as DateTimeAccess>::Error>
Error type
Source§fn datetime(&mut self) -> Result<NaiveDateTime, Self::Error>
fn datetime(&mut self) -> Result<NaiveDateTime, Self::Error>
Read the date and time.
Source§fn set_datetime(&mut self, datetime: &NaiveDateTime) -> Result<(), Self::Error>
fn set_datetime(&mut self, datetime: &NaiveDateTime) -> Result<(), Self::Error>
Set the date and time. Read more
Source§impl<T: Debug> Debug for WrappedRefCell<T>
impl<T: Debug> Debug for WrappedRefCell<T>
Source§impl<T: Default> Default for WrappedRefCell<T>
impl<T: Default> Default for WrappedRefCell<T>
Source§fn default() -> WrappedRefCell<T>
fn default() -> WrappedRefCell<T>
Returns the “default value” for a type. Read more
Source§impl<T: Deref<Target = RefCell<U>>, U: ErrorType> ErrorType for &WrappedRefCell<T>
impl<T: Deref<Target = RefCell<U>>, U: ErrorType> ErrorType for &WrappedRefCell<T>
Source§impl<T: Deref<Target = RefCell<U>>, U: ErrorType> ErrorType for &WrappedRefCell<T>
impl<T: Deref<Target = RefCell<U>>, U: ErrorType> ErrorType for &WrappedRefCell<T>
Source§impl<T: Deref<Target = RefCell<U>>, U: GetBlockDeviceLayout> GetBlockDeviceLayout for &WrappedRefCell<T>
impl<T: Deref<Target = RefCell<U>>, U: GetBlockDeviceLayout> GetBlockDeviceLayout for &WrappedRefCell<T>
type Error = WrappedRefCellError<<U as GetBlockDeviceLayout>::Error>
fn get_block_size(&mut self) -> Result<usize, Self::Error>
fn get_num_blocks(&mut self) -> Result<u64, Self::Error>
Source§impl<T: Deref<Target = RefCell<U>>, U: GetNetDeviceMeta> GetNetDeviceMeta for &WrappedRefCell<T>
impl<T: Deref<Target = RefCell<U>>, U: GetNetDeviceMeta> GetNetDeviceMeta for &WrappedRefCell<T>
type Error = WrappedRefCellError<<U as GetNetDeviceMeta>::Error>
fn get_mac_address(&mut self) -> Result<MacAddress, Self::Error>
Source§impl<T: Hash> Hash for WrappedRefCell<T>
impl<T: Hash> Hash for WrappedRefCell<T>
Source§impl<T: Ord> Ord for WrappedRefCell<T>
impl<T: Ord> Ord for WrappedRefCell<T>
Source§impl<T: PartialEq> PartialEq for WrappedRefCell<T>
impl<T: PartialEq> PartialEq for WrappedRefCell<T>
Source§impl<T: PartialOrd> PartialOrd for WrappedRefCell<T>
impl<T: PartialOrd> PartialOrd for WrappedRefCell<T>
Source§fn partial_cmp(&self, other: &WrappedRefCell<T>) -> Option<Ordering>
fn partial_cmp(&self, other: &WrappedRefCell<T>) -> Option<Ordering>
Source§impl<Word: Copy, T: Deref<Target = RefCell<U>>, U: Read<Word>> Read<Word> for &WrappedRefCell<T>
impl<Word: Copy, T: Deref<Target = RefCell<U>>, U: Read<Word>> Read<Word> for &WrappedRefCell<T>
Source§impl<T: Deref<Target = RefCell<U>>, U: Timer> Timer for &WrappedRefCell<T>
impl<T: Deref<Target = RefCell<U>>, U: Timer> Timer for &WrappedRefCell<T>
fn set_timeout(&mut self, relative: Duration) -> Result<(), Self::Error>
fn clear_timeout(&mut self) -> Result<(), Self::Error>
Source§impl<T: Deref<Target = RefCell<U>>, U: Timers> Timers for &WrappedRefCell<T>
impl<T: Deref<Target = RefCell<U>>, U: Timers> Timers for &WrappedRefCell<T>
type TimerLayout = <U as Timers>::TimerLayout
type Timer = <U as Timers>::Timer
fn timer_layout(&mut self) -> Result<Self::TimerLayout, Self::Error>
fn set_timeout_on( &mut self, timer: Self::Timer, relative: Duration, ) -> Result<(), Self::Error>
fn clear_timeout_on(&mut self, timer: Self::Timer) -> Result<(), Self::Error>
Source§impl<Word: Copy, T: Deref<Target = RefCell<U>>, U: Write<Word>> Write<Word> for &WrappedRefCell<T>
impl<Word: Copy, T: Deref<Target = RefCell<U>>, U: Write<Word>> Write<Word> for &WrappedRefCell<T>
impl<T: Copy> Copy for WrappedRefCell<T>
impl<T: Eq> Eq for WrappedRefCell<T>
impl<T> StructuralPartialEq for WrappedRefCell<T>
Auto Trait Implementations§
impl<T> Freeze for WrappedRefCell<T>where
T: Freeze,
impl<T> RefUnwindSafe for WrappedRefCell<T>where
T: RefUnwindSafe,
impl<T> Send for WrappedRefCell<T>where
T: Send,
impl<T> Sync for WrappedRefCell<T>where
T: Sync,
impl<T> Unpin for WrappedRefCell<T>where
T: Unpin,
impl<T> UnwindSafe for WrappedRefCell<T>where
T: UnwindSafe,
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)