Docs.rs
swift-rs-1.0.7
swift-rs 1.0.7
Permalink
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Repository
crates.io
Source
Owners
Brendonovich
Dependencies
base64 ^0.21.0
normal
serde ^1.0
normal
optional
serde_json ^1.0
normal
optional
serial_test ^0.10
dev
serde ^1.0
build
serde_json ^1.0
build
Versions
94.59%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
swift_
rs
1.0.7
Int16
Trait Implementations
SwiftArg<'a>
SwiftRet
In crate swift_
rs
swift_rs
Type Alias
Int16
Copy item path
Source
pub type Int16 =
i16
;
Expand description
Swift’s
Int16
type
Trait Implementations
§
Source
§
impl<'a>
SwiftArg
<'a> for
Int16
Source
§
type
ArgType
=
i16
Source
§
unsafe fn
as_arg
(&'a self) -> Self::
ArgType
Creates a swift-compatible version of the argument. For primitives this just returns
self
, but for
SwiftObject
types it wraps them in
SwiftRef
.
Read more
Source
§
impl
SwiftRet
for
Int16
Source
§
unsafe fn
retain
(&self)
Adds a retain to the value if possible
Read more