pub struct InterpolatedStringFormatSpec {
pub range: TextRange,
pub node_index: AtomicNodeIndex,
pub elements: InterpolatedStringElements,
}Fields§
§range: TextRange§node_index: AtomicNodeIndex§elements: InterpolatedStringElementsTrait Implementations§
Source§impl Clone for InterpolatedStringFormatSpec
impl Clone for InterpolatedStringFormatSpec
Source§fn clone(&self) -> InterpolatedStringFormatSpec
fn clone(&self) -> InterpolatedStringFormatSpec
Returns a duplicate 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 InterpolatedStringFormatSpec
impl Debug for InterpolatedStringFormatSpec
Source§impl<'a> From<&'a InterpolatedStringFormatSpec> for AnyNodeRef<'a>
impl<'a> From<&'a InterpolatedStringFormatSpec> for AnyNodeRef<'a>
Source§fn from(node: &'a InterpolatedStringFormatSpec) -> AnyNodeRef<'a>
fn from(node: &'a InterpolatedStringFormatSpec) -> AnyNodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a InterpolatedStringFormatSpec> for AnyRootNodeRef<'a>
impl<'a> From<&'a InterpolatedStringFormatSpec> for AnyRootNodeRef<'a>
Source§fn from(node: &'a InterpolatedStringFormatSpec) -> AnyRootNodeRef<'a>
fn from(node: &'a InterpolatedStringFormatSpec) -> AnyRootNodeRef<'a>
Converts to this type from the input type.
Source§impl HasNodeIndex for InterpolatedStringFormatSpec
impl HasNodeIndex for InterpolatedStringFormatSpec
Source§fn node_index(&self) -> &AtomicNodeIndex
fn node_index(&self) -> &AtomicNodeIndex
Returns the
AtomicNodeIndex for this node.Source§impl PartialEq for InterpolatedStringFormatSpec
impl PartialEq for InterpolatedStringFormatSpec
Source§fn eq(&self, other: &InterpolatedStringFormatSpec) -> bool
fn eq(&self, other: &InterpolatedStringFormatSpec) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'a> TryFrom<AnyRootNodeRef<'a>> for &'a InterpolatedStringFormatSpec
impl<'a> TryFrom<AnyRootNodeRef<'a>> for &'a InterpolatedStringFormatSpec
impl StructuralPartialEq for InterpolatedStringFormatSpec
Auto Trait Implementations§
impl !Freeze for InterpolatedStringFormatSpec
impl RefUnwindSafe for InterpolatedStringFormatSpec
impl Send for InterpolatedStringFormatSpec
impl Sync for InterpolatedStringFormatSpec
impl Unpin for InterpolatedStringFormatSpec
impl UnsafeUnpin for InterpolatedStringFormatSpec
impl UnwindSafe for InterpolatedStringFormatSpec
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more