pub enum LanguageAvailabilityStatus {
Installed,
Supported,
Unsupported,
Unknown(i32),
}Expand description
Mirrors LanguageAvailability.Status from Translation.framework.
Variants§
Installed
Translation resources are installed for this request.
Supported
Translation resources are supported but may need installation.
Unsupported
Translation.framework cannot fulfill this request.
Unknown(i32)
Translation.framework returned an unknown raw status value.
Implementations§
Trait Implementations§
Source§impl Clone for LanguageAvailabilityStatus
impl Clone for LanguageAvailabilityStatus
Source§fn clone(&self) -> LanguageAvailabilityStatus
fn clone(&self) -> LanguageAvailabilityStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LanguageAvailabilityStatus
impl Debug for LanguageAvailabilityStatus
Source§impl Hash for LanguageAvailabilityStatus
impl Hash for LanguageAvailabilityStatus
Source§impl PartialEq for LanguageAvailabilityStatus
impl PartialEq for LanguageAvailabilityStatus
Source§fn eq(&self, other: &LanguageAvailabilityStatus) -> bool
fn eq(&self, other: &LanguageAvailabilityStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LanguageAvailabilityStatus
impl Eq for LanguageAvailabilityStatus
impl StructuralPartialEq for LanguageAvailabilityStatus
Auto Trait Implementations§
impl Freeze for LanguageAvailabilityStatus
impl RefUnwindSafe for LanguageAvailabilityStatus
impl Send for LanguageAvailabilityStatus
impl Sync for LanguageAvailabilityStatus
impl Unpin for LanguageAvailabilityStatus
impl UnsafeUnpin for LanguageAvailabilityStatus
impl UnwindSafe for LanguageAvailabilityStatus
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