Enum rocket::shield::Feature [−][src]
#[non_exhaustive]
pub enum Feature {
Show variants
Accelerometer,
AmbientLightSensor,
Autoplay,
Battery,
Camera,
CrossOriginIsolated,
Displaycapture,
DocumentDomain,
EncryptedMedia,
ExecutionWhileNotRendered,
ExecutionWhileOutOfviewport,
Fullscreen,
Geolocation,
Gyroscope,
Magnetometer,
Microphone,
Midi,
NavigationOverride,
Payment,
PictureInPicture,
PublickeyCredentialsGet,
ScreenWakeLock,
SyncXhr,
Usb,
WebShare,
XrSpatialTracking,
ClipboardRead,
ClipboardWrite,
Gamepad,
SpeakerSelection,
InterestCohort,
ConversionMeasurement,
FocusWithoutUserActivation,
Hid,
IdleDetection,
Serial,
SyncScript,
TrustTokenRedemption,
VerticalScroll,
}Expand description
A browser feature that can be enabled or blocked via Permission.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
The “accelerometer” feature.
The “ambient-light-sensor” feature.
The “autoplay” feature.
The “battery” feature.
The “camera” feature.
The “cross-origin-isolated” feature.
The “display-capture” feature.
The “document-domain” feature.
The “encrypted-media” feature.
The “execution-while-not-rendered” feature.
The “execution-while-out-of-viewport” feature.
The “fullscreen” feature.
The “geolocation” feature.
The “gyroscope” feature.
The “magnetometer” feature.
The “microphone” feature.
The “midi” feature.
The “navigation-override” feature.
The “payment” feature.
The “picture-in-picture” feature.
The “publickey-credentials-get” feature.
The “screen-wake-lock” feature.
The “sync-xhr” feature.
The “usb” feature.
The “web-share” feature.
The “xr-spatial-tracking” feature.
The “clipboard-read” feature.
The “clipboard-write” feature.
The “gamepad” feature.
The “speaker-selection” feature.
The “interest-cohort” feature.
The “conversion-measurement” feature.
The “focus-without-user-activation” feature.
The “hid” feature.
The “idle-detection” feature.
The “serial” feature.
The “sync-script” feature.
The “trust-token-redemption” feature.
The “vertical-scroll” feature.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Featureimpl UnwindSafe for FeatureBlanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Converts self into a collection.
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V