MCPcopy Create free account
hub / github.com/RustCrypto/utils / is_some

Method is_some

ctutils/src/ct_option.rs:234–236  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

232 #[inline]
233 #[must_use]
234 pub const fn is_some(&self) -> Choice {
235 self.is_some
236 }
237
238 /// Returns [`Choice::TRUE`] if the option is the equivalent of a `None`.
239 #[inline]

Callers 2

fromMethod · 0.80
into_outMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected