pub enum StringOrEof {
String(String),
Eof,
}
Variants§
Trait Implementations§
Source§impl Clone for StringOrEof
impl Clone for StringOrEof
Source§fn clone(&self) -> StringOrEof
fn clone(&self) -> StringOrEof
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for StringOrEof
impl Debug for StringOrEof
Source§impl Display for StringOrEof
impl Display for StringOrEof
Source§impl From<String> for StringOrEof
impl From<String> for StringOrEof
Source§impl PartialEq for StringOrEof
impl PartialEq for StringOrEof
impl Eq for StringOrEof
impl StructuralPartialEq for StringOrEof
Auto Trait Implementations§
impl Freeze for StringOrEof
impl RefUnwindSafe for StringOrEof
impl Send for StringOrEof
impl Sync for StringOrEof
impl Unpin for StringOrEof
impl UnwindSafe for StringOrEof
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