Struct rant::RantString
source · [−]pub struct RantString { /* private fields */ }
Expand description
Represents Rant’s string
type.
Implementations
Creates a copy of the string with the graphemes in reverse order.
Gets the grapheme string at the specified index.
Splits the string into individual graphemes and returns them as a Rant list.
Splits the string into individual graphemes and returns them as a Rant tuple.
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
Converts from a RantValue
.
Returns true
if the type can be used to represent an optional Rant parameter in native functions; otherwise, false
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Convert from a RantValue
.
Returns true
if the type can be used to represent an optional Rant parameter in native functions; otherwise, false
.
Attempts to convert to a RantValue
.
Auto Trait Implementations
impl RefUnwindSafe for RantString
impl Send for RantString
impl Sync for RantString
impl Unpin for RantString
impl UnwindSafe for RantString
Blanket Implementations
Mutably borrows from an owned value. Read more