pub trait IntoCk: Sized + AsRef<str> { // Required method fn ck<I: Invariant>(&self) -> Result<&Ck<I>, I::Error>; }
Conversion into a Ck.
Ck
Returns a validated Ck borrowing from self.
self
Creating an Rust ident containing this:
this
use strck_ident::{IntoCk, rust::Ident}; let this_ident: &Ident = "this".ck().unwrap();