blob: 0826e7b93e60909ff6e90c17492a4dc79e99bd98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#[doc = "*Required features: `\"Media_ContentRestrictions\"`*"]
#[repr(transparent)]
pub struct ContentAccessRestrictionLevel(pub i32);
impl ContentAccessRestrictionLevel {
pub const Allow: Self = Self(0i32);
pub const Warn: Self = Self(1i32);
pub const Block: Self = Self(2i32);
pub const Hide: Self = Self(3i32);
}
impl ::core::marker::Copy for ContentAccessRestrictionLevel {}
impl ::core::clone::Clone for ContentAccessRestrictionLevel {
fn clone(&self) -> Self {
*self
}
}
pub type ContentRestrictionsBrowsePolicy = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Media_ContentRestrictions\"`*"]
#[repr(transparent)]
pub struct RatedContentCategory(pub i32);
impl RatedContentCategory {
pub const General: Self = Self(0i32);
pub const Application: Self = Self(1i32);
pub const Game: Self = Self(2i32);
pub const Movie: Self = Self(3i32);
pub const Television: Self = Self(4i32);
pub const Music: Self = Self(5i32);
}
impl ::core::marker::Copy for RatedContentCategory {}
impl ::core::clone::Clone for RatedContentCategory {
fn clone(&self) -> Self {
*self
}
}
pub type RatedContentDescription = *mut ::core::ffi::c_void;
pub type RatedContentRestrictions = *mut ::core::ffi::c_void;
|