pub struct TargetPlatform(/* private fields */);Expand description
See the mod.io docs for more information.
Implementations§
Source§impl TargetPlatform
 
impl TargetPlatform
pub const ANDROID: Self
pub const IOS: Self
pub const LINUX: Self
pub const MAC: Self
pub const WINDOWS: Self
pub const PS4: Self
pub const PS5: Self
pub const SOURCE: Self
pub const SWITCH: Self
pub const XBOX_ONE: Self
pub const XBOX_SERIES_X: Self
pub const OCULUS: Self
pub fn as_str(&self) -> &str
Source§impl TargetPlatform
 
impl TargetPlatform
pub fn display_name(&self) -> &str
Trait Implementations§
Source§impl Clone for TargetPlatform
 
impl Clone for TargetPlatform
Source§fn clone(&self) -> TargetPlatform
 
fn clone(&self) -> TargetPlatform
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for TargetPlatform
 
impl Debug for TargetPlatform
Source§impl<'de> Deserialize<'de> for TargetPlatform
 
impl<'de> Deserialize<'de> for TargetPlatform
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for TargetPlatform
 
impl Display for TargetPlatform
Source§impl Hash for TargetPlatform
 
impl Hash for TargetPlatform
Source§impl PartialEq<&str> for TargetPlatform
 
impl PartialEq<&str> for TargetPlatform
Source§impl PartialEq<TargetPlatform> for &str
 
impl PartialEq<TargetPlatform> for &str
Source§impl PartialEq<TargetPlatform> for str
 
impl PartialEq<TargetPlatform> for str
Source§impl PartialEq<str> for TargetPlatform
 
impl PartialEq<str> for TargetPlatform
Source§impl PartialEq for TargetPlatform
 
impl PartialEq for TargetPlatform
Source§impl Serialize for TargetPlatform
 
impl Serialize for TargetPlatform
impl Copy for TargetPlatform
impl Eq for TargetPlatform
impl StructuralPartialEq for TargetPlatform
Auto Trait Implementations§
impl Freeze for TargetPlatform
impl RefUnwindSafe for TargetPlatform
impl Send for TargetPlatform
impl Sync for TargetPlatform
impl Unpin for TargetPlatform
impl UnwindSafe for TargetPlatform
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> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
§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> PolicyExt for Twhere
    T: ?Sized,
 
impl<T> PolicyExt for Twhere
    T: ?Sized,
§impl<T> ServiceExt for T
 
impl<T> ServiceExt for T
§fn compression(self) -> Compression<Self>where
    Self: Sized,
 
fn compression(self) -> Compression<Self>where
    Self: Sized,
Compresses response bodies. Read more
§fn decompression(self) -> Decompression<Self>where
    Self: Sized,
 
fn decompression(self) -> Decompression<Self>where
    Self: Sized,
Decompress response bodies. Read more
§fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
    Self: Sized,
 
fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
    Self: Sized,
High level tracing that classifies responses using HTTP status codes. Read more
§fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
    Self: Sized,
 
fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
    Self: Sized,
High level tracing that classifies responses using gRPC headers. Read more
§fn follow_redirects(self) -> FollowRedirect<Self>where
    Self: Sized,
 
fn follow_redirects(self) -> FollowRedirect<Self>where
    Self: Sized,
§impl<T> ToStringFallible for Twhere
    T: Display,
 
impl<T> ToStringFallible for Twhere
    T: Display,
§fn try_to_string(&self) -> Result<String, TryReserveError>
 
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.