1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2 pub type BasicProperties
= *mut ::core
::ffi
::c_void
;
3 pub type DocumentProperties
= *mut ::core
::ffi
::c_void
;
4 pub type IStorageItemExtraProperties
= *mut ::core
::ffi
::c_void
;
5 pub type ImageProperties
= *mut ::core
::ffi
::c_void
;
6 pub type MusicProperties
= *mut ::core
::ffi
::c_void
;
7 #[doc = "*Required features: `\"Storage_FileProperties\"`*"]
9 pub struct PhotoOrientation(pub i32);
10 impl PhotoOrientation
{
11 pub const Unspecified
: Self = Self(0i32);
12 pub const Normal
: Self = Self(1i32);
13 pub const FlipHorizontal
: Self = Self(2i32);
14 pub const Rotate180
: Self = Self(3i32);
15 pub const FlipVertical
: Self = Self(4i32);
16 pub const Transpose
: Self = Self(5i32);
17 pub const Rotate270
: Self = Self(6i32);
18 pub const Transverse
: Self = Self(7i32);
19 pub const Rotate90
: Self = Self(8i32);
21 impl ::core
::marker
::Copy
for PhotoOrientation {}
22 impl ::core
::clone
::Clone
for PhotoOrientation
{
23 fn clone(&self) -> Self {
27 #[doc = "*Required features: `\"Storage_FileProperties\"`*"]
29 pub struct PropertyPrefetchOptions(pub u32);
30 impl PropertyPrefetchOptions
{
31 pub const None
: Self = Self(0u32);
32 pub const MusicProperties
: Self = Self(1u32);
33 pub const VideoProperties
: Self = Self(2u32);
34 pub const ImageProperties
: Self = Self(4u32);
35 pub const DocumentProperties
: Self = Self(8u32);
36 pub const BasicProperties
: Self = Self(16u32);
38 impl ::core
::marker
::Copy
for PropertyPrefetchOptions {}
39 impl ::core
::clone
::Clone
for PropertyPrefetchOptions
{
40 fn clone(&self) -> Self {
44 pub type StorageItemContentProperties
= *mut ::core
::ffi
::c_void
;
45 pub type StorageItemThumbnail
= *mut ::core
::ffi
::c_void
;
46 #[doc = "*Required features: `\"Storage_FileProperties\"`*"]
48 pub struct ThumbnailMode(pub i32);
50 pub const PicturesView
: Self = Self(0i32);
51 pub const VideosView
: Self = Self(1i32);
52 pub const MusicView
: Self = Self(2i32);
53 pub const DocumentsView
: Self = Self(3i32);
54 pub const ListView
: Self = Self(4i32);
55 pub const SingleItem
: Self = Self(5i32);
57 impl ::core
::marker
::Copy
for ThumbnailMode {}
58 impl ::core
::clone
::Clone
for ThumbnailMode
{
59 fn clone(&self) -> Self {
63 #[doc = "*Required features: `\"Storage_FileProperties\"`*"]
65 pub struct ThumbnailOptions(pub u32);
66 impl ThumbnailOptions
{
67 pub const None
: Self = Self(0u32);
68 pub const ReturnOnlyIfCached
: Self = Self(1u32);
69 pub const ResizeThumbnail
: Self = Self(2u32);
70 pub const UseCurrentScale
: Self = Self(4u32);
72 impl ::core
::marker
::Copy
for ThumbnailOptions {}
73 impl ::core
::clone
::Clone
for ThumbnailOptions
{
74 fn clone(&self) -> Self {
78 #[doc = "*Required features: `\"Storage_FileProperties\"`*"]
80 pub struct ThumbnailType(pub i32);
82 pub const Image
: Self = Self(0i32);
83 pub const Icon
: Self = Self(1i32);
85 impl ::core
::marker
::Copy
for ThumbnailType {}
86 impl ::core
::clone
::Clone
for ThumbnailType
{
87 fn clone(&self) -> Self {
91 #[doc = "*Required features: `\"Storage_FileProperties\"`*"]
93 pub struct VideoOrientation(pub i32);
94 impl VideoOrientation
{
95 pub const Normal
: Self = Self(0i32);
96 pub const Rotate90
: Self = Self(90i32);
97 pub const Rotate180
: Self = Self(180i32);
98 pub const Rotate270
: Self = Self(270i32);
100 impl ::core
::marker
::Copy
for VideoOrientation {}
101 impl ::core
::clone
::Clone
for VideoOrientation
{
102 fn clone(&self) -> Self {
106 pub type VideoProperties
= *mut ::core
::ffi
::c_void
;