Struct objc::Encoding
[−]
[src]
pub struct Encoding { /* fields omitted */ }
An Objective-C type encoding.
For more information, see Apple's documentation: https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/ObjCRuntimeGuide/Articles/ocrtTypeEncodings.html
Methods
impl Encoding
[src]
unsafe fn from_str(code: &str) -> Encoding
Constructs an Encoding
from its string representation.
Unsafe because the caller must ensure the string is a valid encoding.
fn as_str(&self) -> &str
Returns self as a str
.
Trait Implementations
impl Clone for Encoding
[src]
fn clone(&self) -> Encoding
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for Encoding
[src]
fn eq(&self, other: &Encoding) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.