pub struct CommonField {
pub name: InternedStr,
pub is_fn_pointer: bool,
pub origin: CommonFieldOrigin,
}Expand description
共通フィールドマクロが宣言する 1 つのフィールドの最小情報
Fields§
§name: InternedStrフィールド名(最も内側、例: xcv_xsub)
is_fn_pointer: bool関数ポインタ(void (*name)(...) 等)かどうか
origin: CommonFieldOriginマクロ本体内での出現位置の素性
Trait Implementations§
Source§impl Clone for CommonField
impl Clone for CommonField
Source§fn clone(&self) -> CommonField
fn clone(&self) -> CommonField
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CommonField
impl RefUnwindSafe for CommonField
impl Send for CommonField
impl Sync for CommonField
impl Unpin for CommonField
impl UnsafeUnpin for CommonField
impl UnwindSafe for CommonField
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