pub enum RustTypeSource {
FnParam {
func_name: String,
param_index: usize,
},
FnReturn {
func_name: String,
},
Const {
const_name: String,
},
Parsed {
raw: String,
},
}Expand description
Rust 型の出所
Variants§
FnParam
bindings.rs の関数引数
FnReturn
bindings.rs の関数戻り値
Const
bindings.rs の定数
Parsed
文字列からパースされた型(具体的な出所は不明)
Trait Implementations§
Source§impl Clone for RustTypeSource
impl Clone for RustTypeSource
Source§fn clone(&self) -> RustTypeSource
fn clone(&self) -> RustTypeSource
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 RustTypeSource
impl RefUnwindSafe for RustTypeSource
impl Send for RustTypeSource
impl Sync for RustTypeSource
impl Unpin for RustTypeSource
impl UnsafeUnpin for RustTypeSource
impl UnwindSafe for RustTypeSource
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