Docs.rs
swift-rs-1.0.7
swift-rs 1.0.7
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
100%
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
Rust
About docs.rs
Privacy policy
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
Type Alias
swift_rs
::
Int16
Copy item path
source
·
[
−
]
pub type Int16 =
i16
;
Expand description
Swift’s
Int16
type
Trait Implementations
§
source
§
impl<'a>
SwiftArg
<'a> for
Int16
§
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