pub struct SlicedFormat {
pub sliced_args: bool,
pub sliced_return: bool,
}Fields§
§sliced_args: bool§sliced_return: boolImplementations§
Source§impl SlicedFormat
impl SlicedFormat
pub fn parse_from( _: &Unparsed, span: &Span, diagnostics: &mut Diagnostics, ) -> Self
pub fn validate_on( &self, applied_on: Attributables<'_>, span: &Span, diagnostics: &mut Diagnostics, )
Trait Implementations§
Source§impl AttributeKind for SlicedFormat
impl AttributeKind for SlicedFormat
fn is_repeatable(&self) -> bool
fn validate_on( &self, applied_on: Attributables<'_>, span: &Span, diagnostics: &mut Diagnostics, )
fn as_any(&self) -> &dyn Any
fn directive(&self) -> &str
Auto Trait Implementations§
impl Freeze for SlicedFormat
impl RefUnwindSafe for SlicedFormat
impl Send for SlicedFormat
impl Sync for SlicedFormat
impl Unpin for SlicedFormat
impl UnwindSafe for SlicedFormat
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