pub struct CFnDecl {
pub name: InternedStr,
pub params: Vec<CParam>,
pub ret_ty: String,
pub is_thx: bool,
pub is_target: bool,
pub location: Option<String>,
}Expand description
C 関数宣言
Fields§
§name: InternedStr関数名
params: Vec<CParam>パラメータリスト
ret_ty: String戻り値の型(文字列表現)
is_thx: boolTHX 依存性(pTHX_ または pTHX がパラメータに含まれる)
is_target: boolターゲットディレクトリで宣言されたか
location: Option<String>宣言の場所(ファイルパス:行番号)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CFnDecl
impl RefUnwindSafe for CFnDecl
impl Send for CFnDecl
impl Sync for CFnDecl
impl Unpin for CFnDecl
impl UnsafeUnpin for CFnDecl
impl UnwindSafe for CFnDecl
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