pub struct LiteralCommand<SliceType: SliceWrapper<u8>> {
pub data: SliceType,
pub prob: FeatureFlagSliceType<SliceType>,
pub high_entropy: bool,
}
Fields§
§data: SliceType
§prob: FeatureFlagSliceType<SliceType>
§high_entropy: bool
Trait Implementations§
source§impl<SliceType: SliceWrapper<u8> + Clone> Clone for LiteralCommand<SliceType>
impl<SliceType: SliceWrapper<u8> + Clone> Clone for LiteralCommand<SliceType>
source§fn clone(&self) -> LiteralCommand<SliceType>
fn clone(&self) -> LiteralCommand<SliceType>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<SliceType: Debug + SliceWrapper<u8>> Debug for LiteralCommand<SliceType>
impl<SliceType: Debug + SliceWrapper<u8>> Debug for LiteralCommand<SliceType>
source§impl<SliceType: SliceWrapper<u8> + Default> Nop<LiteralCommand<SliceType>> for LiteralCommand<SliceType>
impl<SliceType: SliceWrapper<u8> + Default> Nop<LiteralCommand<SliceType>> for LiteralCommand<SliceType>
source§impl<SliceType: SliceWrapper<u8>> SliceWrapper<u8> for LiteralCommand<SliceType>
impl<SliceType: SliceWrapper<u8>> SliceWrapper<u8> for LiteralCommand<SliceType>
source§impl<SliceType: SliceWrapper<u8> + SliceWrapperMut<u8>> SliceWrapperMut<u8> for LiteralCommand<SliceType>
impl<SliceType: SliceWrapper<u8> + SliceWrapperMut<u8>> SliceWrapperMut<u8> for LiteralCommand<SliceType>
impl<SliceType: SliceWrapper<u8> + Clone + Copy> Copy for LiteralCommand<SliceType>
Auto Trait Implementations§
impl<SliceType> Freeze for LiteralCommand<SliceType>where
SliceType: Freeze,
impl<SliceType> RefUnwindSafe for LiteralCommand<SliceType>where
SliceType: RefUnwindSafe,
impl<SliceType> Send for LiteralCommand<SliceType>where
SliceType: Send,
impl<SliceType> Sync for LiteralCommand<SliceType>where
SliceType: Sync,
impl<SliceType> Unpin for LiteralCommand<SliceType>where
SliceType: Unpin,
impl<SliceType> UnwindSafe for LiteralCommand<SliceType>where
SliceType: 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,
source§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
)