pub struct Subpacket {
pub is_critical: bool,
pub data: SubpacketData,
}
Fields§
§is_critical: bool
§data: SubpacketData
Implementations§
Trait Implementations§
source§impl PartialEq<Subpacket> for Subpacket
impl PartialEq<Subpacket> for Subpacket
impl Eq for Subpacket
impl StructuralEq for Subpacket
impl StructuralPartialEq for Subpacket
Auto Trait Implementations§
impl RefUnwindSafe for Subpacket
impl Send for Subpacket
impl Sync for Subpacket
impl Unpin for Subpacket
impl UnwindSafe for Subpacket
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.