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
sourceimpl<SliceType: SliceWrapper<u8> + Clone> Clone for LiteralCommand<SliceType>
impl<SliceType: SliceWrapper<u8> + Clone> Clone for LiteralCommand<SliceType>
sourcefn clone(&self) -> LiteralCommand<SliceType>
fn clone(&self) -> LiteralCommand<SliceType>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<SliceType: Debug + SliceWrapper<u8>> Debug for LiteralCommand<SliceType>
impl<SliceType: Debug + SliceWrapper<u8>> Debug for LiteralCommand<SliceType>
sourceimpl<SliceType: SliceWrapper<u8> + Default> Nop<LiteralCommand<SliceType>> for LiteralCommand<SliceType>
impl<SliceType: SliceWrapper<u8> + Default> Nop<LiteralCommand<SliceType>> for LiteralCommand<SliceType>
sourceimpl<SliceType: SliceWrapper<u8>> SliceWrapper<u8> for LiteralCommand<SliceType>
impl<SliceType: SliceWrapper<u8>> SliceWrapper<u8> for LiteralCommand<SliceType>
sourceimpl<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> 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more