Struct vst::api::FileType

source ·
#[repr(C)]
pub struct FileType { pub name: [u8; 128], pub osx_type: [u8; 8], pub win_type: [u8; 8], pub nix_type: [u8; 8], pub mime_type_1: [u8; 128], pub mime_type_2: [u8; 128], }
Expand description

File type descriptor.

Fields§

§name: [u8; 128]

Display name of file type.

§osx_type: [u8; 8]

OS X file type.

§win_type: [u8; 8]

Windows file type.

§nix_type: [u8; 8]

Unix file type.

§mime_type_1: [u8; 128]

MIME type.

§mime_type_2: [u8; 128]

Additional MIME type.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.