vstd
In vstd::std_specs::option
?
Settings
Function
vstd
::
std_specs
::
option
::
take
Copy item path
source
·
[
−
]
pub
exec
fn take<T>(option: &mut
Option
<T>) ->
t :
Option
<T>
Expand description
ensures
t == old(option),
*
option is
None
,