pub struct GreekWord { /* private fields */ }Implementations§
Source§impl GreekWord
impl GreekWord
pub fn new() -> Self
pub fn from_bytes(bytes: &Vec<u8>) -> Result<Self, InvalidCharError>
pub fn from_greek_chars(chars: &Vec<GreekChar>) -> Self
pub fn from_string(str: &String) -> Result<Self, InvalidCharError>
pub fn from_str(str: &str) -> Result<Self, InvalidCharError>
pub fn to_string(&self) -> Result<String, FromUtf8Error>
pub fn to_upper(&self) -> GreekWord
pub fn to_lower(&self) -> GreekWord
pub fn strip_diacritics(&self) -> GreekWord
pub fn as_greek_chars(&self) -> Vec<GreekChar>
Trait Implementations§
impl Eq for GreekWord
impl StructuralPartialEq for GreekWord
Auto Trait Implementations§
impl Freeze for GreekWord
impl RefUnwindSafe for GreekWord
impl Send for GreekWord
impl Sync for GreekWord
impl Unpin for GreekWord
impl UnwindSafe for GreekWord
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