pub struct RawParameterValue<S: StringStorage> {
pub value: S,
pub quoted: bool,
}Expand description
A single parameter value with optional quoting
Fields§
§value: SThe parameter value
quoted: boolWhether the value was quoted in the source
Implementations§
Source§impl RawParameterValue<Segments<'_>>
impl RawParameterValue<Segments<'_>>
Sourcepub fn to_owned(&self) -> RawParameterValue<String>
pub fn to_owned(&self) -> RawParameterValue<String>
Convert borrowed type to owned type
Trait Implementations§
Source§impl<S: Clone + StringStorage> Clone for RawParameterValue<S>
impl<S: Clone + StringStorage> Clone for RawParameterValue<S>
Source§fn clone(&self) -> RawParameterValue<S>
fn clone(&self) -> RawParameterValue<S>
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 moreAuto Trait Implementations§
impl<S> Freeze for RawParameterValue<S>where
S: Freeze,
impl<S> RefUnwindSafe for RawParameterValue<S>where
S: RefUnwindSafe,
impl<S> Send for RawParameterValue<S>where
S: Send,
impl<S> Sync for RawParameterValue<S>where
S: Sync,
impl<S> Unpin for RawParameterValue<S>where
S: Unpin,
impl<S> UnwindSafe for RawParameterValue<S>where
S: UnwindSafe,
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<'p, T> Seq<'p, T> for Twhere
T: Clone,
impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
Source§impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
Source§fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
Invokes
WrappingSpan::make_wrapped to wrap an AST node in a span.