Struct swf_types::SwfSignature
source · [−]pub struct SwfSignature {
pub compression_method: CompressionMethod,
pub swf_version: u8,
pub uncompressed_file_length: usize,
}
Expand description
The signature is the part of the header that is not compressed
Fields
compression_method: CompressionMethod
The compression method used for the body of this SWF file
swf_version: u8
SWF version
uncompressed_file_length: usize
Trait Implementations
sourceimpl Clone for SwfSignature
impl Clone for SwfSignature
sourcefn clone(&self) -> SwfSignature
fn clone(&self) -> SwfSignature
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 Debug for SwfSignature
impl Debug for SwfSignature
sourceimpl<'de> Deserialize<'de> for SwfSignature
impl<'de> Deserialize<'de> for SwfSignature
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Hash for SwfSignature
impl Hash for SwfSignature
sourceimpl Ord for SwfSignature
impl Ord for SwfSignature
sourceimpl PartialEq<SwfSignature> for SwfSignature
impl PartialEq<SwfSignature> for SwfSignature
sourcefn eq(&self, other: &SwfSignature) -> bool
fn eq(&self, other: &SwfSignature) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SwfSignature) -> bool
fn ne(&self, other: &SwfSignature) -> bool
This method tests for !=
.
sourceimpl PartialOrd<SwfSignature> for SwfSignature
impl PartialOrd<SwfSignature> for SwfSignature
sourcefn partial_cmp(&self, other: &SwfSignature) -> Option<Ordering>
fn partial_cmp(&self, other: &SwfSignature) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl Serialize for SwfSignature
impl Serialize for SwfSignature
impl Copy for SwfSignature
impl Eq for SwfSignature
impl StructuralEq for SwfSignature
impl StructuralPartialEq for SwfSignature
Auto Trait Implementations
impl RefUnwindSafe for SwfSignature
impl Send for SwfSignature
impl Sync for SwfSignature
impl Unpin for SwfSignature
impl UnwindSafe for SwfSignature
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)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more