pub struct WithStandardParts<F>(pub F);Expand description
The program files F, with the standard parts beside them: every file
named PREFIX… is a standard part’s — read-only, whatever F
holds by that name — and every other is F’s.
Tuple Fields§
§0: FTrait Implementations§
Source§impl<F: Clone> Clone for WithStandardParts<F>
impl<F: Clone> Clone for WithStandardParts<F>
Source§fn clone(&self) -> WithStandardParts<F>
fn clone(&self) -> WithStandardParts<F>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<F: Debug> Debug for WithStandardParts<F>
impl<F: Debug> Debug for WithStandardParts<F>
Source§impl<F: Default> Default for WithStandardParts<F>
impl<F: Default> Default for WithStandardParts<F>
Source§fn default() -> WithStandardParts<F>
fn default() -> WithStandardParts<F>
Returns the “default value” for a type. Read more
Source§impl<F> Deref for WithStandardParts<F>
impl<F> Deref for WithStandardParts<F>
Source§impl<F> DerefMut for WithStandardParts<F>
impl<F> DerefMut for WithStandardParts<F>
Source§impl<F: FileStore> FileStore for WithStandardParts<F>
impl<F: FileStore> FileStore for WithStandardParts<F>
Source§impl<F: FileStoreMut> FileStoreMut for WithStandardParts<F>
Writes go to F, but never over a standard part: those are read-only,
so a write to a PREFIX… name changes nothing.
impl<F: FileStoreMut> FileStoreMut for WithStandardParts<F>
Writes go to F, but never over a standard part: those are read-only,
so a write to a PREFIX… name changes nothing.
Auto Trait Implementations§
impl<F> Freeze for WithStandardParts<F>where
F: Freeze,
impl<F> RefUnwindSafe for WithStandardParts<F>where
F: RefUnwindSafe,
impl<F> Send for WithStandardParts<F>where
F: Send,
impl<F> Sync for WithStandardParts<F>where
F: Sync,
impl<F> Unpin for WithStandardParts<F>where
F: Unpin,
impl<F> UnsafeUnpin for WithStandardParts<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for WithStandardParts<F>where
F: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CryptoRng for T
impl<R> TryCryptoRng for R
Source§impl<R> TryRngCore for R
impl<R> TryRngCore for R
Source§type Error = Infallible
type Error = Infallible
The type returned in the event of a RNG error.
Source§fn try_next_u32(&mut self) -> Result<u32, <R as TryRngCore>::Error>
fn try_next_u32(&mut self) -> Result<u32, <R as TryRngCore>::Error>
Return the next random
u32.Source§fn try_next_u64(&mut self) -> Result<u64, <R as TryRngCore>::Error>
fn try_next_u64(&mut self) -> Result<u64, <R as TryRngCore>::Error>
Return the next random
u64.Source§fn try_fill_bytes(
&mut self,
dst: &mut [u8],
) -> Result<(), <R as TryRngCore>::Error>
fn try_fill_bytes( &mut self, dst: &mut [u8], ) -> Result<(), <R as TryRngCore>::Error>
Fill
dest entirely with random data.Source§fn unwrap_mut(&mut self) -> UnwrapMut<'_, Self>
fn unwrap_mut(&mut self) -> UnwrapMut<'_, Self>
Wrap RNG with the
UnwrapMut wrapper.