pub struct FoundDateTimeListRefMut<'a> { /* private fields */ }
Expand description
Wrapper reference type with methods for extracting the found date times, created by the DateTime::find_n
method
Implementations§
Source§impl<'a> FoundDateTimeListRefMut<'a>
impl<'a> FoundDateTimeListRefMut<'a>
Sourcepub fn new(buf: &'a mut [Option<FoundDateTimeKind>]) -> Self
pub fn new(buf: &'a mut [Option<FoundDateTimeKind>]) -> Self
Construct a new FoundDateTimeListRefMut
value
Sourcepub fn data(&self) -> &[Option<FoundDateTimeKind>]
pub fn data(&self) -> &[Option<FoundDateTimeKind>]
Returns the subslice of written data
Sourcepub fn is_exhaustive(&self) -> bool
pub fn is_exhaustive(&self) -> bool
Returns true
if all found date times have been written in the buffer
Trait Implementations§
Source§impl<'a> Debug for FoundDateTimeListRefMut<'a>
impl<'a> Debug for FoundDateTimeListRefMut<'a>
Source§impl<'a> PartialEq for FoundDateTimeListRefMut<'a>
impl<'a> PartialEq for FoundDateTimeListRefMut<'a>
impl<'a> StructuralPartialEq for FoundDateTimeListRefMut<'a>
Auto Trait Implementations§
impl<'a> Freeze for FoundDateTimeListRefMut<'a>
impl<'a> RefUnwindSafe for FoundDateTimeListRefMut<'a>
impl<'a> Send for FoundDateTimeListRefMut<'a>
impl<'a> Sync for FoundDateTimeListRefMut<'a>
impl<'a> Unpin for FoundDateTimeListRefMut<'a>
impl<'a> !UnwindSafe for FoundDateTimeListRefMut<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more