Lines Matching refs:Repr
188 dfa: &dense::Repr<T, S>, in from_dense_sized()
190 Repr::from_dense_sized(dfa).map(|r| r.into_sparse_dfa()) in from_dense_sized()
241 fn repr(&self) -> &Repr<T, S> { in repr()
411 Repr::from_bytes(buf).into_sparse_dfa() in from_bytes()
510 pub struct Standard<T: AsRef<[u8]>, S: StateID = usize>(Repr<T, S>);
571 pub struct ByteClass<T: AsRef<[u8]>, S: StateID = usize>(Repr<T, S>);
617 struct Repr<T: AsRef<[u8]>, S: StateID = usize> { struct
626 impl<T: AsRef<[u8]>, S: StateID> Repr<T, S> { implementation
635 fn as_ref<'a>(&'a self) -> Repr<&'a [u8], S> { in as_ref()
636 Repr { in as_ref()
647 fn to_owned(&self) -> Repr<Vec<u8>, S> { in to_owned()
648 Repr { in to_owned()
715 fn to_sized<A: StateID>(&self) -> Result<Repr<Vec<u8>, A>> { in to_sized()
737 let mut new = Repr { in to_sized()
856 impl<'a, S: StateID> Repr<&'a [u8], S> { impl
858 unsafe fn from_bytes(mut buf: &'a [u8]) -> Repr<&'a [u8], S> { in from_bytes()
919 Repr { in from_bytes()
931 impl<S: StateID> Repr<Vec<u8>, S> { impl
934 dfa: &dense::Repr<T, S>, in from_dense_sized()
935 ) -> Result<Repr<Vec<u8>, A>> { in from_dense_sized()
977 let mut new = Repr { in from_dense_sized()
1011 impl<T: AsRef<[u8]>, S: StateID> fmt::Debug for Repr<T, S> { implementation
1014 dfa: &Repr<T, S>, in fmt()
1055 dfa: &'a Repr<T, S>,