pub struct ValueTraitArguments {
pub debug: bool,
pub operation: Option<Span>,
}
Expand description
Arguments to the #[turbo_tasks::value_trait]
attribute macro.
Fields§
§debug: bool
Whether the macro should generate a ValueDebug
-like dbg()
implementation on the trait’s Vc
.
operation: Option<Span>
Should the trait have a turbo_tasks::OperationValue
supertype?
Trait Implementations§
Source§impl Debug for ValueTraitArguments
impl Debug for ValueTraitArguments
Source§impl Default for ValueTraitArguments
impl Default for ValueTraitArguments
Source§impl Parse for ValueTraitArguments
impl Parse for ValueTraitArguments
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations§
impl Freeze for ValueTraitArguments
impl RefUnwindSafe for ValueTraitArguments
impl !Send for ValueTraitArguments
impl !Sync for ValueTraitArguments
impl Unpin for ValueTraitArguments
impl UnwindSafe for ValueTraitArguments
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