Lines Matching refs:Repr
178 fn repr(&self) -> &Repr<T, S> { in repr()
236 Repr::empty().into_dense_dfa() in empty()
519 Repr::from_bytes(buf).into_dense_dfa() in from_bytes()
535 fn repr_mut(&mut self) -> &mut Repr<Vec<S>, S> { in repr_mut()
673 pub struct Standard<T: AsRef<[S]>, S: StateID>(Repr<T, S>);
733 pub struct ByteClass<T: AsRef<[S]>, S: StateID>(Repr<T, S>);
794 pub struct Premultiplied<T: AsRef<[S]>, S: StateID>(Repr<T, S>);
847 pub struct PremultipliedByteClass<T: AsRef<[S]>, S: StateID>(Repr<T, S>);
897 pub(crate) struct Repr<T, S> { struct
978 impl<S: StateID> Repr<Vec<S>, S> { argument
981 pub fn empty() -> Repr<Vec<S>, S> { in empty()
982 Repr::empty_with_byte_classes(ByteClasses::singletons()) in empty()
989 ) -> Repr<Vec<S>, S> { in empty_with_byte_classes()
990 let mut dfa = Repr { in empty_with_byte_classes()
1005 pub fn anchored(mut self, yes: bool) -> Repr<Vec<S>, S> { in anchored()
1011 impl<T: AsRef<[S]>, S: StateID> Repr<T, S> { implementation
1029 fn as_ref<'a>(&'a self) -> Repr<&'a [S], S> { in as_ref()
1030 Repr { in as_ref()
1042 fn to_owned(&self) -> Repr<Vec<S>, S> { in to_owned()
1043 Repr { in to_owned()
1171 pub fn to_sized<A: StateID>(&self) -> Result<Repr<Vec<A>, A>> { in to_sized()
1183 let mut new = Repr { in to_sized()
1297 impl<'a, S: StateID> Repr<&'a [S], S> { impl
1299 unsafe fn from_bytes(mut buf: &'a [u8]) -> Repr<&'a [S], S> { in from_bytes()
1387 Repr { in from_bytes()
1405 impl<S: StateID> Repr<Vec<S>, S> { implementation
1612 impl<T: AsRef<[S]>, S: StateID> fmt::Debug for Repr<T, S> { implementation
1615 dfa: &Repr<T, S>, in fmt()
1663 dfa: &'a Repr<T, S>,