Struct visa_rs::VisaString
source · [−]pub struct VisaString(_);
Implementations
sourceimpl VisaString
impl VisaString
pub fn to_string_lossy(&self) -> Cow<'_, str>
pub fn from_string(s: String) -> Option<Self>
Trait Implementations
sourceimpl Clone for VisaString
impl Clone for VisaString
sourcefn clone(&self) -> VisaString
fn clone(&self) -> VisaString
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for VisaString
impl Debug for VisaString
sourceimpl Display for VisaString
impl Display for VisaString
sourceimpl From<CString> for VisaString
impl From<CString> for VisaString
sourceimpl Hash for VisaString
impl Hash for VisaString
sourceimpl Ord for VisaString
impl Ord for VisaString
sourceimpl PartialEq<VisaString> for VisaString
impl PartialEq<VisaString> for VisaString
sourcefn eq(&self, other: &VisaString) -> bool
fn eq(&self, other: &VisaString) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &VisaString) -> bool
fn ne(&self, other: &VisaString) -> bool
This method tests for !=
.
sourceimpl PartialOrd<VisaString> for VisaString
impl PartialOrd<VisaString> for VisaString
sourcefn partial_cmp(&self, other: &VisaString) -> Option<Ordering>
fn partial_cmp(&self, other: &VisaString) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Eq for VisaString
impl StructuralEq for VisaString
impl StructuralPartialEq for VisaString
Auto Trait Implementations
impl RefUnwindSafe for VisaString
impl Send for VisaString
impl Sync for VisaString
impl Unpin for VisaString
impl UnwindSafe for VisaString
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more