pub struct Candidates { /* private fields */ }Implementations§
Source§impl Candidates
impl Candidates
pub fn detect(data: impl AsRef<[u8]>) -> Result<Candidates, Error>
pub fn detector(&self) -> &CharsetDetector
pub fn reset(self) -> CharsetDetector
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn get(&self, index: usize) -> Option<Candidate<'_>>
pub fn best(&self) -> Option<Candidate<'_>>
pub fn iter(&self) -> Iter<'_> ⓘ
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Candidates
impl RefUnwindSafe for Candidates
impl !Send for Candidates
impl !Sync for Candidates
impl Unpin for Candidates
impl UnsafeUnpin for Candidates
impl UnwindSafe for Candidates
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