pub struct PropInitKey<'a> {
pub value: PropKey<'a>,
pub brackets: Option<(Slice<'a>, Slice<'a>)>,
}
Fields
value: PropKey<'a>
brackets: Option<(Slice<'a>, Slice<'a>)>
Trait Implementations
sourceimpl<'a> Clone for PropInitKey<'a>
impl<'a> Clone for PropInitKey<'a>
sourcefn clone(&self) -> PropInitKey<'a>
fn clone(&self) -> PropInitKey<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'a> Debug for PropInitKey<'a>
impl<'a> Debug for PropInitKey<'a>
sourceimpl<'a> From<PropInitKey<'a>> for PropKey<'a>
impl<'a> From<PropInitKey<'a>> for PropKey<'a>
sourcefn from(other: PropInitKey<'a>) -> Self
fn from(other: PropInitKey<'a>) -> Self
Converts to this type from the input type.
sourceimpl<'a> Node for PropInitKey<'a>
impl<'a> Node for PropInitKey<'a>
fn loc(&self) -> SourceLocation
sourceimpl<'a> PartialEq<PropInitKey<'a>> for PropInitKey<'a>
impl<'a> PartialEq<PropInitKey<'a>> for PropInitKey<'a>
sourcefn eq(&self, other: &PropInitKey<'a>) -> bool
fn eq(&self, other: &PropInitKey<'a>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl<'a> StructuralPartialEq for PropInitKey<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for PropInitKey<'a>
impl<'a> Send for PropInitKey<'a>
impl<'a> Sync for PropInitKey<'a>
impl<'a> Unpin for PropInitKey<'a>
impl<'a> UnwindSafe for PropInitKey<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more