pub struct ArtifactSection {
pub name: Option<String>,
pub offset: u64,
pub size: u64,
pub executable: bool,
}Expand description
One named or numbered region of an artifact.
Fields§
§name: Option<String>A format-provided name, when one exists.
offset: u64Offset in the input byte stream.
size: u64Length in bytes.
executable: boolWhether executable code resides in this section.
Trait Implementations§
Source§impl Clone for ArtifactSection
impl Clone for ArtifactSection
Source§fn clone(&self) -> ArtifactSection
fn clone(&self) -> ArtifactSection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ArtifactSection
impl Debug for ArtifactSection
Source§impl<'de> Deserialize<'de> for ArtifactSection
impl<'de> Deserialize<'de> for ArtifactSection
Source§fn 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
impl Eq for ArtifactSection
Source§impl PartialEq for ArtifactSection
impl PartialEq for ArtifactSection
Source§impl Serialize for ArtifactSection
impl Serialize for ArtifactSection
impl StructuralPartialEq for ArtifactSection
Auto Trait Implementations§
impl Freeze for ArtifactSection
impl RefUnwindSafe for ArtifactSection
impl Send for ArtifactSection
impl Sync for ArtifactSection
impl Unpin for ArtifactSection
impl UnsafeUnpin for ArtifactSection
impl UnwindSafe for ArtifactSection
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.