pub struct PycReadConfig {
pub version: PythonVersion,
}Expand description
配置结构体,用于指定读取 .pyc 文件时的参数
Fields§
§version: PythonVersion指定 Python 版本,如果为 Unknown,则从文件头部推断
Implementations§
Trait Implementations§
Source§impl Clone for PycReadConfig
impl Clone for PycReadConfig
Source§fn clone(&self) -> PycReadConfig
fn clone(&self) -> PycReadConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PycReadConfig
impl Debug for PycReadConfig
Source§impl Default for PycReadConfig
impl Default for PycReadConfig
impl Copy for PycReadConfig
Auto Trait Implementations§
impl Freeze for PycReadConfig
impl RefUnwindSafe for PycReadConfig
impl Send for PycReadConfig
impl Sync for PycReadConfig
impl Unpin for PycReadConfig
impl UnwindSafe for PycReadConfig
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