pub struct EnvironmentVariableDataBlock {
pub block_size: u32,
pub block_signature: u32,
pub target_ansi: Option<Vec<u8>>,
pub target_unicode: Option<Vec<u8>>,
}Expand description
The EnvironmentVariableDataBlock structure specifies a path to environment variable information when the link target refers to a location that has a corresponding environment variable.
Fields§
§block_size: u32A 32-bit, unsigned integer that specifies the size of the EnvironmentVariableDataBlock structure. This value MUST be 0x00000314.
block_signature: u32A 32-bit, unsigned integer that specifies the signature of the EnvironmentVariableDataBlock extra data section. This value MUST be 0xA0000001.
target_ansi: Option<Vec<u8>>A NULL-terminated string, defined by the system default code page, which specifies a path to environment variable information.
target_unicode: Option<Vec<u8>>An optional, NULL-terminated, Unicode string that specifies a path to environment variable information.
Trait Implementations§
Source§impl Clone for EnvironmentVariableDataBlock
impl Clone for EnvironmentVariableDataBlock
Source§fn clone(&self) -> EnvironmentVariableDataBlock
fn clone(&self) -> EnvironmentVariableDataBlock
Returns a duplicate of the value. Read more
1.0.0 · 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 EnvironmentVariableDataBlock
impl Debug for EnvironmentVariableDataBlock
Source§impl Default for EnvironmentVariableDataBlock
impl Default for EnvironmentVariableDataBlock
Source§fn default() -> EnvironmentVariableDataBlock
fn default() -> EnvironmentVariableDataBlock
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EnvironmentVariableDataBlock
impl RefUnwindSafe for EnvironmentVariableDataBlock
impl Send for EnvironmentVariableDataBlock
impl Sync for EnvironmentVariableDataBlock
impl Unpin for EnvironmentVariableDataBlock
impl UnwindSafe for EnvironmentVariableDataBlock
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