Enum impl_tools_lib::fields::StructStyle
source · Expand description
Struct style: unit/tuple/regular
Variants
Unit(Semi)
A unit struct (e.g. struct Foo;)
Tuple(Paren, Semi)
A tuple struct (e.g. struct Foo(f32, f32);)
Regular(Brace)
A regular struct (e.g. struct Foo { x: f32, y: f32 })
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for StructStyle
impl !Send for StructStyle
impl !Sync for StructStyle
impl Unpin for StructStyle
impl UnwindSafe for StructStyle
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