pub struct FmtStringPart<T: ResolvedType = ()> {
pub expr: NestedExpr<T>,
pub string: Arc<str>,
}
Fields§
§expr: NestedExpr<T>
§string: Arc<str>
Trait Implementations§
Source§impl<T: Clone + ResolvedType> Clone for FmtStringPart<T>
impl<T: Clone + ResolvedType> Clone for FmtStringPart<T>
Source§fn clone(&self) -> FmtStringPart<T>
fn clone(&self) -> FmtStringPart<T>
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<T: Debug + ResolvedType> Debug for FmtStringPart<T>
impl<T: Debug + ResolvedType> Debug for FmtStringPart<T>
Source§impl<T: ResolvedType> From<FmtStringPart> for FmtStringPart<Option<T>>
impl<T: ResolvedType> From<FmtStringPart> for FmtStringPart<Option<T>>
Source§fn from(value: FmtStringPart<()>) -> Self
fn from(value: FmtStringPart<()>) -> Self
Converts to this type from the input type.
Source§impl<T: PartialEq + ResolvedType> PartialEq for FmtStringPart<T>
impl<T: PartialEq + ResolvedType> PartialEq for FmtStringPart<T>
Source§impl<T: ResolvedType> Resolvable for FmtStringPart<Option<T>>
impl<T: ResolvedType> Resolvable for FmtStringPart<Option<T>>
fn is_resolved(&self) -> bool
fn is_signature_resolved(&self) -> bool
Source§impl<T: ResolvedType> TryFrom<FmtStringPart<Option<T>>> for FmtStringPart<T>
impl<T: ResolvedType> TryFrom<FmtStringPart<Option<T>>> for FmtStringPart<T>
impl<T: ResolvedType> StructuralPartialEq for FmtStringPart<T>
Auto Trait Implementations§
impl<T> Freeze for FmtStringPart<T>
impl<T> RefUnwindSafe for FmtStringPart<T>
impl<T> Send for FmtStringPart<T>where
T: Send,
impl<T> Sync for FmtStringPart<T>where
T: Send,
impl<T> Unpin for FmtStringPart<T>
impl<T> UnwindSafe for FmtStringPart<T>
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