NameRecord
struct · ferroui-base · v0.5.0
struct NameRecord
One record of the name table; the string is decoded on demand.
Members
new
fn new(string_storage: ReadOnlyMemory<u8>, platform: PlatformID, language_id: u16, name_id: KnownNameIds, offset: u16, length: u16, encoding: Encoding) -> Self
platform
fn platform(self: &Self) -> PlatformID
language_id
fn language_id(self: &Self) -> u16
The language of the record (an LCID for the Windows platform).
name_id
fn name_id(self: &Self) -> KnownNameIds
offset
fn offset(self: &Self) -> u16
length
fn length(self: &Self) -> u16
encoding
fn encoding(self: &Self) -> Encoding
get_value
fn get_value(self: &Self) -> String
Decodes the string of the record.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneDebug
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.