Docs.rs
aott-0.2.0
aott 0.2.0
Docs.rs crate page
Links
Repository
crates.io
Source
Owners
nothendev
Dependencies
aott_derive ^0.2.0
normal
hashbrown ^0.14.0
normal
num-traits ^0.2.16
normal
unicode-ident ^1.0.11
normal
optional
zstd-safe ^6.0.6
dev
Versions
40.93%
of the crate is documented
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
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
MaybeRef
aott
0.2.0
Maybe
Ref
Aliased Type
Variants
Ref
Val
Methods
borrow_as_t
In crate aott
aott
Type Alias
Maybe
Ref
Copy item path
Source
pub type MaybeRef<'a, T> =
MaybeDeref
<T,
&'a T
>;
Aliased Type
§
pub enum MaybeRef<'a, T> { Ref(
&'a T
), Val(T), }
Variants
§
§
Ref(
&'a T
)
§
Val(T)
Implementations
§
Source
§
impl<'a, T>
MaybeRef
<'a, T>
Source
pub fn
borrow_as_t
<'b: 'a>(&'b self) ->
&'b T