MCPcopy Create free account
hub / github.com/davidblewett/rure-python / into_kind

Method into_kind

regex/regex-syntax/src/hir/mod.rs:211–214  ·  view source on GitHub ↗

Consumes ownership of this HIR expression and returns its underlying `HirKind`.

(mut self)

Source from the content-addressed store, hash-verified

209 /// Consumes ownership of this HIR expression and returns its underlying
210 /// `HirKind`.
211 pub fn into_kind(mut self) -> HirKind {
212 use std::mem;
213 mem::replace(&mut self.kind, HirKind::Empty)
214 }
215
216 /// Returns an empty HIR expression.
217 ///

Callers 5

cmd_utf8_rangesFunction · 0.80
hir_case_foldFunction · 0.80
hir_negateFunction · 0.80
hir_unionFunction · 0.80
hir_differenceFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected