Struct finder_info::FileInfo [−][src]
#[repr(C)]pub struct FileInfo { pub fileType: OSType, pub fileCreator: OSType, pub finderFlags: FinderFlags, pub location: Point, pub reservedField: u16, }
Defines a file information structure.
The FileInfo
structure is preferred over the FInfo structure.
Fields
fileType: OSType
File type.
fileCreator: OSType
The signature of the application that created the file.
finderFlags: FinderFlags
Finder flags. See FinderFlags
.
location: Point
The location--specified in coordinates local to the window--of the file's icon within its window.
reservedField: u16
The window in which the file's icon appears; this information is meaningful only to the Finder.
Methods
impl FileInfo
[src]
impl FileInfo
pub fn read<R: ReadBytesExt>(r: &mut R) -> Result<FileInfo>
[src]
pub fn read<R: ReadBytesExt>(r: &mut R) -> Result<FileInfo>
pub fn write<W: WriteBytesExt>(&self, w: &mut W) -> Result<()>
[src]
pub fn write<W: WriteBytesExt>(&self, w: &mut W) -> Result<()>
Trait Implementations
impl Clone for FileInfo
[src]
impl Clone for FileInfo
fn clone(&self) -> FileInfo
[src]
fn clone(&self) -> FileInfo
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for FileInfo
[src]
impl Debug for FileInfo
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for FileInfo
[src]
impl Default for FileInfo