#[repr(C)]
pub struct FileSystemVolumeLabel { /* private fields */ }
Expand description

System volume label

May only be obtained on the root directory’s file handle.

Implementations

Create a FileSystemVolumeLabel structure

The structure will be created in-place within the provided storage buffer. The buffer must be large enough to hold the data structure, including a null-terminated UCS-2 name string.

The buffer must be correctly aligned. You can query the required alignment using the alignment() method of the Align trait that this struct implements.

Volume label

Trait Implementations

Required memory alignment for this type

Calculate the offset from val necessary to make it aligned, rounding up. For example, if val is 1 and the alignment is 8, this will return 7. Returns 0 if val == 0. Read more

Round val up so that it is aligned.

Get a subslice of buf where the address of the first element is aligned. Returns None if no element of the buffer is aligned. Read more

Assert that some storage is correctly aligned for this type

Formats the value using the given formatter. Read more

Unique protocol identifier.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more