pub struct ScriptStructField<'a> {
pub meta: Option<Meta>,
pub name: String,
pub visibility: Visibility,
pub type_query: TypeQuery<'a>,
}
Fields§
§meta: Option<Meta>
§name: String
§visibility: Visibility
§type_query: TypeQuery<'a>
Implementations§
Source§impl<'a> ScriptStructField<'a>
impl<'a> ScriptStructField<'a>
pub fn build(&self, registry: &Registry) -> StructField
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ScriptStructField<'a>
impl<'a> RefUnwindSafe for ScriptStructField<'a>
impl<'a> Send for ScriptStructField<'a>
impl<'a> Sync for ScriptStructField<'a>
impl<'a> Unpin for ScriptStructField<'a>
impl<'a> UnwindSafe for ScriptStructField<'a>
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