pub struct Field {
pub name: String,
pub arguments: RefCell<Vec<TypeArgument>>,
pub span: Span,
pub type_: RefCell<Type>,
pub condition: RefCell<Option<Expression>>,
pub transforms: RefCell<Vec<TypeTransform>>,
pub toplevel: bool,
pub is_auto: Cell<bool>,
pub is_maybe_cyclical: Cell<bool>,
pub is_pad: Cell<bool>,
}
Fields§
§name: String
§arguments: RefCell<Vec<TypeArgument>>
§span: Span
§type_: RefCell<Type>
§condition: RefCell<Option<Expression>>
§transforms: RefCell<Vec<TypeTransform>>
§toplevel: bool
§is_auto: Cell<bool>
§is_maybe_cyclical: Cell<bool>
§is_pad: Cell<bool>
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Field
impl !RefUnwindSafe for Field
impl !Send for Field
impl !Sync for Field
impl Unpin for Field
impl !UnwindSafe for Field
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