pub struct ArbitraryStyleBlock { /* private fields */ }Expand description
Macro input for arbitrary style code
Also supports string literal token instead of braces, in which mode will look for relative file
Does not work nice with rust-analyzer though
Implementations§
Trait Implementations§
Source§impl Clone for ArbitraryStyleBlock
impl Clone for ArbitraryStyleBlock
Source§fn clone(&self) -> ArbitraryStyleBlock
fn clone(&self) -> ArbitraryStyleBlock
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ArbitraryStyleBlock
impl Debug for ArbitraryStyleBlock
Source§impl Parse for ArbitraryStyleBlock
impl Parse for ArbitraryStyleBlock
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations§
impl !Send for ArbitraryStyleBlock
impl !Sync for ArbitraryStyleBlock
impl Freeze for ArbitraryStyleBlock
impl RefUnwindSafe for ArbitraryStyleBlock
impl Unpin for ArbitraryStyleBlock
impl UnsafeUnpin for ArbitraryStyleBlock
impl UnwindSafe for ArbitraryStyleBlock
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