pub struct UiStringIndex(pub String);Tuple Fields§
§0: StringImplementations§
Source§impl UiStringIndex
impl UiStringIndex
pub fn to_bound_usize(&self, limit: usize) -> Result<usize, UiStringIndexErrors>
Trait Implementations§
Source§impl Clone for UiStringIndex
impl Clone for UiStringIndex
Source§fn clone(&self) -> UiStringIndex
fn clone(&self) -> UiStringIndex
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UiStringIndex
impl Debug for UiStringIndex
Source§impl<'de> Deserialize<'de> for UiStringIndex
impl<'de> Deserialize<'de> for UiStringIndex
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<usize> for UiStringIndex
impl From<usize> for UiStringIndex
Source§impl PartialEq for UiStringIndex
impl PartialEq for UiStringIndex
Source§impl Serialize for UiStringIndex
impl Serialize for UiStringIndex
impl StructuralPartialEq for UiStringIndex
Auto Trait Implementations§
impl Freeze for UiStringIndex
impl RefUnwindSafe for UiStringIndex
impl Send for UiStringIndex
impl Sync for UiStringIndex
impl Unpin for UiStringIndex
impl UnwindSafe for UiStringIndex
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