#[repr(C)]pub struct pm_interpolated_string_node {
pub base: pm_node_t,
pub opening_loc: pm_location_t,
pub parts: pm_node_list,
pub closing_loc: pm_location_t,
}
Expand description
InterpolatedStringNode
Represents a string literal that contains interpolation.
"foo #{bar} baz"
^^^^^^^^^^^^^^^^
Type: ::PM_INTERPOLATED_STRING_NODE
Flags (#pm_interpolated_string_node_flags):
- ::PM_INTERPOLATED_STRING_NODE_FLAGS_FROZEN
- ::PM_INTERPOLATED_STRING_NODE_FLAGS_MUTABLE
@extends pm_node_t
Fields§
§base: pm_node_t
The embedded base node.
opening_loc: pm_location_t
InterpolatedStringNode#opening_loc
parts: pm_node_list
InterpolatedStringNode#parts
closing_loc: pm_location_t
InterpolatedStringNode#closing_loc
Trait Implementations§
Source§impl Clone for pm_interpolated_string_node
impl Clone for pm_interpolated_string_node
Source§fn clone(&self) -> pm_interpolated_string_node
fn clone(&self) -> pm_interpolated_string_node
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 pm_interpolated_string_node
impl Debug for pm_interpolated_string_node
impl Copy for pm_interpolated_string_node
Auto Trait Implementations§
impl Freeze for pm_interpolated_string_node
impl RefUnwindSafe for pm_interpolated_string_node
impl !Send for pm_interpolated_string_node
impl !Sync for pm_interpolated_string_node
impl Unpin for pm_interpolated_string_node
impl UnwindSafe for pm_interpolated_string_node
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