pub struct EmittedStaticArrays {
pub source: String,
pub emitted_names: HashSet<String>,
pub emitted_types: HashMap<String, String>,
}Expand description
出力結果と、正常に emit できた static 配列名の集合。
名前集合は下流の codegen で .as_ptr() 減衰判定 (is_array_like_expr)
などに使う。
Fields§
§source: String§emitted_names: HashSet<String>§emitted_types: HashMap<String, String>名前 → Rust 型文字列 ("[ELEMENT; N]" 形式)。
BindingsInfo::static_types にマージして要素型抽出に使う。
Auto Trait Implementations§
impl Freeze for EmittedStaticArrays
impl RefUnwindSafe for EmittedStaticArrays
impl Send for EmittedStaticArrays
impl Sync for EmittedStaticArrays
impl Unpin for EmittedStaticArrays
impl UnsafeUnpin for EmittedStaticArrays
impl UnwindSafe for EmittedStaticArrays
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