Struct starnix_kernel_runner::Features
source · pub struct Features {Show 13 fields
pub kernel: KernelFeatures,
pub selinux: Option<Mode>,
pub ashmem: bool,
pub framebuffer: bool,
pub gralloc: bool,
pub magma: bool,
pub gfxstream: bool,
pub test_data: bool,
pub custom_artifacts: bool,
pub android_serialno: bool,
pub self_profile: bool,
pub aspect_ratio: Option<AspectRatio>,
pub perfetto: Option<FsString>,
}
Expand description
A collection of parsed features, and their arguments.
Fields§
§kernel: KernelFeatures
§selinux: Option<Mode>
Configures whether SELinux is fully enabled, faked, or unavailable.
ashmem: bool
§framebuffer: bool
§gralloc: bool
§magma: bool
§gfxstream: bool
§test_data: bool
§custom_artifacts: bool
§android_serialno: bool
§self_profile: bool
§aspect_ratio: Option<AspectRatio>
§perfetto: Option<FsString>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Features
impl RefUnwindSafe for Features
impl Send for Features
impl Sync for Features
impl Unpin for Features
impl UnwindSafe for Features
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Encode<Ambiguous1> for T
impl<T> Encode<Ambiguous1> for T
source§impl<T> Encode<Ambiguous2> for T
impl<T> Encode<Ambiguous2> for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoAny for T
impl<T> IntoAny for T
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
type Error = <U as TryFromExt<T>>::Error
source§fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
Tries to perform the conversion.