Lines Matching defs:B
82 pub(crate) unsafe fn new_unchecked(bytes: B) -> Ref<B, T> { in new_unchecked()
183 fn clone(&self) -> Ref<B, T> { in clone()
210 pub(crate) fn sized_from(bytes: B) -> Result<Ref<B, T>, CastError<B, T>> { in sized_from()
228 pub(crate) fn sized_from_prefix(bytes: B) -> Result<(Ref<B, T>, B), CastError<B, T>> { in sized_from_prefix()
249 pub(crate) fn sized_from_suffix(bytes: B) -> Result<(B, Ref<B, T>), CastError<B, T>> { in sized_from_suffix()
311 pub fn from_bytes(source: B) -> Result<Ref<B, T>, CastError<B, T>> { in from_bytes()
365 pub fn from_prefix(source: B) -> Result<(Ref<B, T>, B), CastError<B, T>> { in from_prefix()
430 pub fn from_suffix(source: B) -> Result<(B, Ref<B, T>), CastError<B, T>> { in from_suffix()
491 pub fn from_bytes_with_elems(source: B, count: usize) -> Result<Ref<B, T>, CastError<B, T>> { in from_bytes_with_elems()
543 source: B, in from_prefix_with_elems()
545 ) -> Result<(Ref<B, T>, B), CastError<B, T>> { in from_prefix_with_elems() argument
589 source: B, in from_suffix_with_elems()
591 ) -> Result<(B, Ref<B, T>), CastError<B, T>> { in from_suffix_with_elems()