Struct modio::types::TargetPlatform
source · 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 copy 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§fn eq(&self, other: &TargetPlatform) -> bool
fn eq(&self, other: &TargetPlatform) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<TargetPlatform> for str
impl PartialEq<TargetPlatform> for str
source§fn eq(&self, other: &TargetPlatform) -> bool
fn eq(&self, other: &TargetPlatform) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<str> for TargetPlatform
impl PartialEq<str> for TargetPlatform
source§impl PartialEq for TargetPlatform
impl PartialEq for TargetPlatform
source§fn eq(&self, other: &TargetPlatform) -> bool
fn eq(&self, other: &TargetPlatform) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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