#[repr(C, packed(1))]pub struct FileAttribute {
pub file_name: [CHAR; 32],
pub file_size: ULONG,
pub read_rights: ULONG,
pub write_rights: ULONG,
}
Expand description
The structure of FILEATTRIBUTE
Fields§
§file_name: [CHAR; 32]
§file_size: ULONG
§read_rights: ULONG
§write_rights: ULONG
Trait Implementations§
Source§impl Clone for FileAttribute
impl Clone for FileAttribute
Source§fn clone(&self) -> FileAttribute
fn clone(&self) -> FileAttribute
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 FileAttribute
impl Debug for FileAttribute
Source§impl Default for FileAttribute
impl Default for FileAttribute
Source§fn default() -> FileAttribute
fn default() -> FileAttribute
Returns the “default value” for a type. Read more
impl Copy for FileAttribute
Auto Trait Implementations§
impl Freeze for FileAttribute
impl RefUnwindSafe for FileAttribute
impl Send for FileAttribute
impl Sync for FileAttribute
impl Unpin for FileAttribute
impl UnwindSafe for FileAttribute
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