pub struct IndexClass {
pub path: LitStr,
pub options: Option<MapLiteral>,
}
Fields§
§path: LitStr
§options: Option<MapLiteral>
Implementations§
Trait Implementations§
Source§impl Clone for IndexClass
impl Clone for IndexClass
Source§fn clone(&self) -> IndexClass
fn clone(&self) -> IndexClass
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> CustomToTokens<'a> for IndexClass
impl<'a> CustomToTokens<'a> for IndexClass
Source§impl Debug for IndexClass
impl Debug for IndexClass
Source§impl Display for IndexClass
impl Display for IndexClass
Source§impl FromStr for IndexClass
impl FromStr for IndexClass
Source§impl Parse for IndexClass
impl Parse for IndexClass
type Output = IndexClass
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
Source§impl PartialEq for IndexClass
impl PartialEq for IndexClass
Source§impl ToTokens for IndexClass
impl ToTokens for IndexClass
Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
impl Eq for IndexClass
impl StructuralPartialEq for IndexClass
Auto Trait Implementations§
impl Freeze for IndexClass
impl RefUnwindSafe for IndexClass
impl Send for IndexClass
impl Sync for IndexClass
impl Unpin for IndexClass
impl UnwindSafe for IndexClass
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