Skip to main content

FileType

Enum FileType 

Source
#[repr(u32)]
pub enum FileType {
Show 51 variants PDF = 1_346_651_680, PS = 1_347_624_992, EPS = 1_162_892_064, JPEG = 1_246_774_599, JPEG2K = 1_246_779_424, TIFF = 1_414_088_262, GIF = 1_195_984_416, PNG = 1_347_307_296, WEBP = 1_464_156_752, SWF = 1_398_228_512, FLA = 1_179_402_528, FLV = 1_179_407_904, MOV = 1_297_045_024, AVI = 1_096_173_856, CIN = 1_128_877_600, WAV = 1_463_899_680, MP3 = 1_297_101_600, SES = 1_397_052_192, CEL = 1_128_614_944, MPEG = 1_297_106_247, MPEG2 = 1_297_101_344, MPEG4 = 1_297_101_856, MXF = 1_297_630_752, WMAV = 1_464_680_790, AIFF = 1_095_321_158, RED = 1_380_271_136, ARRI = 1_095_914_057, HEIF = 1_212_500_294, P2 = 1_345_462_304, XDCAMFam = 1_480_868_678, XDCAMSam = 1_480_868_691, XDCAMEx = 1_480_868_696, AVCHD = 1_096_173_636, SonyHDV = 1_397_245_014, CanonXF = 1_129_207_878, AVCUltra = 1_096_172_373, HTML = 1_213_484_364, XML = 1_481_460_768, TEXT = 1_952_807_028, SVG = 1_398_163_232, Photoshop = 1_347_634_208, Illustrator = 1_095_311_392, InDesign = 1_229_866_052, AEProject = 1_095_061_536, AEProjTemplate = 1_095_062_560, AEFilterPreset = 1_179_015_200, EncoreProject = 1_313_034_066, PremiereProject = 1_347_571_786, PremiereTitle = 1_347_572_812, UCFFile = 1_430_472_224, Unknown = 538_976_288,
}
Expand description

Public file formats.

Variants§

§

PDF = 1_346_651_680

§

PS = 1_347_624_992

§

EPS = 1_162_892_064

§

JPEG = 1_246_774_599

§

JPEG2K = 1_246_779_424

§

TIFF = 1_414_088_262

§

GIF = 1_195_984_416

§

PNG = 1_347_307_296

§

WEBP = 1_464_156_752

§

SWF = 1_398_228_512

§

FLA = 1_179_402_528

§

FLV = 1_179_407_904

§

MOV = 1_297_045_024

§

AVI = 1_096_173_856

§

CIN = 1_128_877_600

§

WAV = 1_463_899_680

§

MP3 = 1_297_101_600

§

SES = 1_397_052_192

§

CEL = 1_128_614_944

§

MPEG = 1_297_106_247

§

MPEG2 = 1_297_101_344

§

MPEG4 = 1_297_101_856

§

MXF = 1_297_630_752

§

WMAV = 1_464_680_790

§

AIFF = 1_095_321_158

§

RED = 1_380_271_136

§

ARRI = 1_095_914_057

§

HEIF = 1_212_500_294

§

P2 = 1_345_462_304

§

XDCAMFam = 1_480_868_678

§

XDCAMSam = 1_480_868_691

§

XDCAMEx = 1_480_868_696

§

AVCHD = 1_096_173_636

§

SonyHDV = 1_397_245_014

§

CanonXF = 1_129_207_878

§

AVCUltra = 1_096_172_373

§

HTML = 1_213_484_364

§

XML = 1_481_460_768

§

TEXT = 1_952_807_028

§

SVG = 1_398_163_232

§

Photoshop = 1_347_634_208

§

Illustrator = 1_095_311_392

§

InDesign = 1_229_866_052

§

AEProject = 1_095_061_536

§

AEProjTemplate = 1_095_062_560

§

AEFilterPreset = 1_179_015_200

§

EncoreProject = 1_313_034_066

§

PremiereProject = 1_347_571_786

§

PremiereTitle = 1_347_572_812

§

UCFFile = 1_430_472_224

§

Unknown = 538_976_288

Trait Implementations§

Source§

impl Clone for FileType

Source§

fn clone(&self) -> FileType

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for FileType

Source§

impl Debug for FileType

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for FileType

Source§

impl PartialEq for FileType

Source§

fn eq(&self, other: &FileType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for FileType

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.