Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RustCrypto/utils
/ none
Method
none
ctutils/src/ct_option.rs:68–73 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
66
#[inline]
67
#[must_use]
68
pub fn none() -> CtOption<T>
69
where
70
T: Default,
71
{
72
Self::new(Default::default(), Choice::FALSE)
73
}
74
75
/// Convert from a `&mut CtOption<T>` to `CtOption<&mut T>`.
76
#[inline]
Callers
nothing calls this directly
Calls
1
default
Function · 0.85
Tested by
no test coverage detected