Struct objc2_app_kit::NSSpeechBoundary
source · #[repr(transparent)]pub struct NSSpeechBoundary(pub NSUInteger);
Available on crate feature
NSSpeechSynthesizer
only.Tuple Fields§
§0: NSUInteger
Implementations§
source§impl NSSpeechBoundary
impl NSSpeechBoundary
pub const NSSpeechImmediateBoundary: Self = _
👎Deprecated: Use AVSpeechSynthesizer in AVFoundation instead
pub const NSSpeechWordBoundary: Self = _
👎Deprecated: Use AVSpeechSynthesizer in AVFoundation instead
pub const NSSpeechSentenceBoundary: Self = _
👎Deprecated: Use AVSpeechSynthesizer in AVFoundation instead
Trait Implementations§
source§impl Clone for NSSpeechBoundary
impl Clone for NSSpeechBoundary
source§fn clone(&self) -> NSSpeechBoundary
fn clone(&self) -> NSSpeechBoundary
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 NSSpeechBoundary
impl Debug for NSSpeechBoundary
source§impl Encode for NSSpeechBoundary
impl Encode for NSSpeechBoundary
source§impl Hash for NSSpeechBoundary
impl Hash for NSSpeechBoundary
source§impl Ord for NSSpeechBoundary
impl Ord for NSSpeechBoundary
source§fn cmp(&self, other: &NSSpeechBoundary) -> Ordering
fn cmp(&self, other: &NSSpeechBoundary) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for NSSpeechBoundary
impl PartialEq for NSSpeechBoundary
source§fn eq(&self, other: &NSSpeechBoundary) -> bool
fn eq(&self, other: &NSSpeechBoundary) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NSSpeechBoundary
impl PartialOrd for NSSpeechBoundary
source§fn partial_cmp(&self, other: &NSSpeechBoundary) -> Option<Ordering>
fn partial_cmp(&self, other: &NSSpeechBoundary) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl RefEncode for NSSpeechBoundary
impl RefEncode for NSSpeechBoundary
source§const ENCODING_REF: Encoding = _
const ENCODING_REF: Encoding = _
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for NSSpeechBoundary
impl Eq for NSSpeechBoundary
impl StructuralPartialEq for NSSpeechBoundary
Auto Trait Implementations§
impl Freeze for NSSpeechBoundary
impl RefUnwindSafe for NSSpeechBoundary
impl Send for NSSpeechBoundary
impl Sync for NSSpeechBoundary
impl Unpin for NSSpeechBoundary
impl UnwindSafe for NSSpeechBoundary
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> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.