Struct mach_object::LcString [] [src]

pub struct LcString(pub usize, pub String);

A variable length string in a load command is represented by an LcString structure.

The strings are stored just after the load command structure and the offset is from the start of the load command structure. The size of the string is reflected in the cmdsize field of the load command. Once again any padded bytes to bring the cmdsize field to a multiple of 4 bytes must be zero.

Trait Implementations

impl Debug for LcString
[src]

[src]

Formats the value using the given formatter.

impl Default for LcString
[src]

[src]

Returns the "default value" for a type. Read more

impl Clone for LcString
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for LcString
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for LcString
[src]

impl Display for LcString
[src]

[src]

Formats the value using the given formatter. Read more