pub enum ScriptItem<S, K> {
Key(XkeyOrigin, K),
Code(Vec<S>),
Data(Vec<u8>),
}
Variants§
Trait Implementations§
Source§impl<S, K> Clone for ScriptItem<S, K>
impl<S, K> Clone for ScriptItem<S, K>
Source§fn clone(&self) -> ScriptItem<S, K>
fn clone(&self) -> ScriptItem<S, K>
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<S, K> Debug for ScriptItem<S, K>
impl<S, K> Debug for ScriptItem<S, K>
Source§impl<S, K> Hash for ScriptItem<S, K>
impl<S, K> Hash for ScriptItem<S, K>
Source§impl<S, K> PartialEq for ScriptItem<S, K>
impl<S, K> PartialEq for ScriptItem<S, K>
impl<S, K> Eq for ScriptItem<S, K>
impl<S, K> StructuralPartialEq for ScriptItem<S, K>
Auto Trait Implementations§
impl<S, K> Freeze for ScriptItem<S, K>where
K: Freeze,
impl<S, K> RefUnwindSafe for ScriptItem<S, K>where
K: RefUnwindSafe,
S: RefUnwindSafe,
impl<S, K> Send for ScriptItem<S, K>
impl<S, K> Sync for ScriptItem<S, K>
impl<S, K> Unpin for ScriptItem<S, K>
impl<S, K> UnwindSafe for ScriptItem<S, K>where
K: UnwindSafe,
S: 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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.