pub struct HvRegisterCrInterceptControl(/* private fields */);Implementations§
Source§impl HvRegisterCrInterceptControl
impl HvRegisterCrInterceptControl
Sourcepub const fn with_cr0_write_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_cr0_write_checked(self, value: bool) -> Result<Self, ()>
Bits: 0..1
Sourcepub const fn with_cr0_write(self, value: bool) -> Self
pub const fn with_cr0_write(self, value: bool) -> Self
Bits: 0..1
Sourcepub const fn set_cr0_write(&mut self, value: bool)
pub const fn set_cr0_write(&mut self, value: bool)
Bits: 0..1
Sourcepub const fn with_cr4_write_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_cr4_write_checked(self, value: bool) -> Result<Self, ()>
Bits: 1..2
Sourcepub const fn with_cr4_write(self, value: bool) -> Self
pub const fn with_cr4_write(self, value: bool) -> Self
Bits: 1..2
Sourcepub const fn set_cr4_write(&mut self, value: bool)
pub const fn set_cr4_write(&mut self, value: bool)
Bits: 1..2
Sourcepub const fn xcr0_write(&self) -> bool
pub const fn xcr0_write(&self) -> bool
Bits: 2..3
Sourcepub const fn with_xcr0_write_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_xcr0_write_checked(self, value: bool) -> Result<Self, ()>
Bits: 2..3
Sourcepub const fn with_xcr0_write(self, value: bool) -> Self
pub const fn with_xcr0_write(self, value: bool) -> Self
Bits: 2..3
Sourcepub const fn set_xcr0_write(&mut self, value: bool)
pub const fn set_xcr0_write(&mut self, value: bool)
Bits: 2..3
Sourcepub const fn ia32_misc_enable_read(&self) -> bool
pub const fn ia32_misc_enable_read(&self) -> bool
Bits: 3..4
Sourcepub const fn with_ia32_misc_enable_read_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_ia32_misc_enable_read_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 3..4
Sourcepub const fn with_ia32_misc_enable_read(self, value: bool) -> Self
pub const fn with_ia32_misc_enable_read(self, value: bool) -> Self
Bits: 3..4
Sourcepub const fn set_ia32_misc_enable_read(&mut self, value: bool)
pub const fn set_ia32_misc_enable_read(&mut self, value: bool)
Bits: 3..4
Sourcepub const fn set_ia32_misc_enable_read_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_ia32_misc_enable_read_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 3..4
Sourcepub const fn ia32_misc_enable_write(&self) -> bool
pub const fn ia32_misc_enable_write(&self) -> bool
Bits: 4..5
Sourcepub const fn with_ia32_misc_enable_write_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_ia32_misc_enable_write_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 4..5
Sourcepub const fn with_ia32_misc_enable_write(self, value: bool) -> Self
pub const fn with_ia32_misc_enable_write(self, value: bool) -> Self
Bits: 4..5
Sourcepub const fn set_ia32_misc_enable_write(&mut self, value: bool)
pub const fn set_ia32_misc_enable_write(&mut self, value: bool)
Bits: 4..5
Sourcepub const fn set_ia32_misc_enable_write_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_ia32_misc_enable_write_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 4..5
Sourcepub const fn msr_lstar_read(&self) -> bool
pub const fn msr_lstar_read(&self) -> bool
Bits: 5..6
Sourcepub const fn with_msr_lstar_read_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_msr_lstar_read_checked(self, value: bool) -> Result<Self, ()>
Bits: 5..6
Sourcepub const fn with_msr_lstar_read(self, value: bool) -> Self
pub const fn with_msr_lstar_read(self, value: bool) -> Self
Bits: 5..6
Sourcepub const fn set_msr_lstar_read(&mut self, value: bool)
pub const fn set_msr_lstar_read(&mut self, value: bool)
Bits: 5..6
Sourcepub const fn set_msr_lstar_read_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_msr_lstar_read_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 5..6
Sourcepub const fn msr_lstar_write(&self) -> bool
pub const fn msr_lstar_write(&self) -> bool
Bits: 6..7
Sourcepub const fn with_msr_lstar_write_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_msr_lstar_write_checked(self, value: bool) -> Result<Self, ()>
Bits: 6..7
Sourcepub const fn with_msr_lstar_write(self, value: bool) -> Self
pub const fn with_msr_lstar_write(self, value: bool) -> Self
Bits: 6..7
Sourcepub const fn set_msr_lstar_write(&mut self, value: bool)
pub const fn set_msr_lstar_write(&mut self, value: bool)
Bits: 6..7
Sourcepub const fn set_msr_lstar_write_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_msr_lstar_write_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 6..7
Sourcepub const fn msr_star_read(&self) -> bool
pub const fn msr_star_read(&self) -> bool
Bits: 7..8
Sourcepub const fn with_msr_star_read_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_msr_star_read_checked(self, value: bool) -> Result<Self, ()>
Bits: 7..8
Sourcepub const fn with_msr_star_read(self, value: bool) -> Self
pub const fn with_msr_star_read(self, value: bool) -> Self
Bits: 7..8
Sourcepub const fn set_msr_star_read(&mut self, value: bool)
pub const fn set_msr_star_read(&mut self, value: bool)
Bits: 7..8
Sourcepub const fn msr_star_write(&self) -> bool
pub const fn msr_star_write(&self) -> bool
Bits: 8..9
Sourcepub const fn with_msr_star_write_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_msr_star_write_checked(self, value: bool) -> Result<Self, ()>
Bits: 8..9
Sourcepub const fn with_msr_star_write(self, value: bool) -> Self
pub const fn with_msr_star_write(self, value: bool) -> Self
Bits: 8..9
Sourcepub const fn set_msr_star_write(&mut self, value: bool)
pub const fn set_msr_star_write(&mut self, value: bool)
Bits: 8..9
Sourcepub const fn set_msr_star_write_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_msr_star_write_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 8..9
Sourcepub const fn msr_cstar_read(&self) -> bool
pub const fn msr_cstar_read(&self) -> bool
Bits: 9..10
Sourcepub const fn with_msr_cstar_read_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_msr_cstar_read_checked(self, value: bool) -> Result<Self, ()>
Bits: 9..10
Sourcepub const fn with_msr_cstar_read(self, value: bool) -> Self
pub const fn with_msr_cstar_read(self, value: bool) -> Self
Bits: 9..10
Sourcepub const fn set_msr_cstar_read(&mut self, value: bool)
pub const fn set_msr_cstar_read(&mut self, value: bool)
Bits: 9..10
Sourcepub const fn set_msr_cstar_read_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_msr_cstar_read_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 9..10
Sourcepub const fn msr_cstar_write(&self) -> bool
pub const fn msr_cstar_write(&self) -> bool
Bits: 10..11
Sourcepub const fn with_msr_cstar_write_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_msr_cstar_write_checked(self, value: bool) -> Result<Self, ()>
Bits: 10..11
Sourcepub const fn with_msr_cstar_write(self, value: bool) -> Self
pub const fn with_msr_cstar_write(self, value: bool) -> Self
Bits: 10..11
Sourcepub const fn set_msr_cstar_write(&mut self, value: bool)
pub const fn set_msr_cstar_write(&mut self, value: bool)
Bits: 10..11
Sourcepub const fn set_msr_cstar_write_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_msr_cstar_write_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 10..11
Sourcepub const fn apic_base_msr_read(&self) -> bool
pub const fn apic_base_msr_read(&self) -> bool
Bits: 11..12
Sourcepub const fn with_apic_base_msr_read_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_apic_base_msr_read_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 11..12
Sourcepub const fn with_apic_base_msr_read(self, value: bool) -> Self
pub const fn with_apic_base_msr_read(self, value: bool) -> Self
Bits: 11..12
Sourcepub const fn set_apic_base_msr_read(&mut self, value: bool)
pub const fn set_apic_base_msr_read(&mut self, value: bool)
Bits: 11..12
Sourcepub const fn set_apic_base_msr_read_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_apic_base_msr_read_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 11..12
Sourcepub const fn apic_base_msr_write(&self) -> bool
pub const fn apic_base_msr_write(&self) -> bool
Bits: 12..13
Sourcepub const fn with_apic_base_msr_write_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_apic_base_msr_write_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 12..13
Sourcepub const fn with_apic_base_msr_write(self, value: bool) -> Self
pub const fn with_apic_base_msr_write(self, value: bool) -> Self
Bits: 12..13
Sourcepub const fn set_apic_base_msr_write(&mut self, value: bool)
pub const fn set_apic_base_msr_write(&mut self, value: bool)
Bits: 12..13
Sourcepub const fn set_apic_base_msr_write_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_apic_base_msr_write_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 12..13
Sourcepub const fn msr_efer_read(&self) -> bool
pub const fn msr_efer_read(&self) -> bool
Bits: 13..14
Sourcepub const fn with_msr_efer_read_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_msr_efer_read_checked(self, value: bool) -> Result<Self, ()>
Bits: 13..14
Sourcepub const fn with_msr_efer_read(self, value: bool) -> Self
pub const fn with_msr_efer_read(self, value: bool) -> Self
Bits: 13..14
Sourcepub const fn set_msr_efer_read(&mut self, value: bool)
pub const fn set_msr_efer_read(&mut self, value: bool)
Bits: 13..14
Sourcepub const fn msr_efer_write(&self) -> bool
pub const fn msr_efer_write(&self) -> bool
Bits: 14..15
Sourcepub const fn with_msr_efer_write_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_msr_efer_write_checked(self, value: bool) -> Result<Self, ()>
Bits: 14..15
Sourcepub const fn with_msr_efer_write(self, value: bool) -> Self
pub const fn with_msr_efer_write(self, value: bool) -> Self
Bits: 14..15
Sourcepub const fn set_msr_efer_write(&mut self, value: bool)
pub const fn set_msr_efer_write(&mut self, value: bool)
Bits: 14..15
Sourcepub const fn set_msr_efer_write_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_msr_efer_write_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 14..15
Sourcepub const fn gdtr_write(&self) -> bool
pub const fn gdtr_write(&self) -> bool
Bits: 15..16
Sourcepub const fn with_gdtr_write_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_gdtr_write_checked(self, value: bool) -> Result<Self, ()>
Bits: 15..16
Sourcepub const fn with_gdtr_write(self, value: bool) -> Self
pub const fn with_gdtr_write(self, value: bool) -> Self
Bits: 15..16
Sourcepub const fn set_gdtr_write(&mut self, value: bool)
pub const fn set_gdtr_write(&mut self, value: bool)
Bits: 15..16
Sourcepub const fn idtr_write(&self) -> bool
pub const fn idtr_write(&self) -> bool
Bits: 16..17
Sourcepub const fn with_idtr_write_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_idtr_write_checked(self, value: bool) -> Result<Self, ()>
Bits: 16..17
Sourcepub const fn with_idtr_write(self, value: bool) -> Self
pub const fn with_idtr_write(self, value: bool) -> Self
Bits: 16..17
Sourcepub const fn set_idtr_write(&mut self, value: bool)
pub const fn set_idtr_write(&mut self, value: bool)
Bits: 16..17
Sourcepub const fn ldtr_write(&self) -> bool
pub const fn ldtr_write(&self) -> bool
Bits: 17..18
Sourcepub const fn with_ldtr_write_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_ldtr_write_checked(self, value: bool) -> Result<Self, ()>
Bits: 17..18
Sourcepub const fn with_ldtr_write(self, value: bool) -> Self
pub const fn with_ldtr_write(self, value: bool) -> Self
Bits: 17..18
Sourcepub const fn set_ldtr_write(&mut self, value: bool)
pub const fn set_ldtr_write(&mut self, value: bool)
Bits: 17..18
Sourcepub const fn with_tr_write_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_tr_write_checked(self, value: bool) -> Result<Self, ()>
Bits: 18..19
Sourcepub const fn with_tr_write(self, value: bool) -> Self
pub const fn with_tr_write(self, value: bool) -> Self
Bits: 18..19
Sourcepub const fn set_tr_write(&mut self, value: bool)
pub const fn set_tr_write(&mut self, value: bool)
Bits: 18..19
Sourcepub const fn msr_sysenter_cs_write(&self) -> bool
pub const fn msr_sysenter_cs_write(&self) -> bool
Bits: 19..20
Sourcepub const fn with_msr_sysenter_cs_write_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_msr_sysenter_cs_write_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 19..20
Sourcepub const fn with_msr_sysenter_cs_write(self, value: bool) -> Self
pub const fn with_msr_sysenter_cs_write(self, value: bool) -> Self
Bits: 19..20
Sourcepub const fn set_msr_sysenter_cs_write(&mut self, value: bool)
pub const fn set_msr_sysenter_cs_write(&mut self, value: bool)
Bits: 19..20
Sourcepub const fn set_msr_sysenter_cs_write_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_msr_sysenter_cs_write_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 19..20
Sourcepub const fn msr_sysenter_eip_write(&self) -> bool
pub const fn msr_sysenter_eip_write(&self) -> bool
Bits: 20..21
Sourcepub const fn with_msr_sysenter_eip_write_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_msr_sysenter_eip_write_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 20..21
Sourcepub const fn with_msr_sysenter_eip_write(self, value: bool) -> Self
pub const fn with_msr_sysenter_eip_write(self, value: bool) -> Self
Bits: 20..21
Sourcepub const fn set_msr_sysenter_eip_write(&mut self, value: bool)
pub const fn set_msr_sysenter_eip_write(&mut self, value: bool)
Bits: 20..21
Sourcepub const fn set_msr_sysenter_eip_write_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_msr_sysenter_eip_write_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 20..21
Sourcepub const fn msr_sysenter_esp_write(&self) -> bool
pub const fn msr_sysenter_esp_write(&self) -> bool
Bits: 21..22
Sourcepub const fn with_msr_sysenter_esp_write_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_msr_sysenter_esp_write_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 21..22
Sourcepub const fn with_msr_sysenter_esp_write(self, value: bool) -> Self
pub const fn with_msr_sysenter_esp_write(self, value: bool) -> Self
Bits: 21..22
Sourcepub const fn set_msr_sysenter_esp_write(&mut self, value: bool)
pub const fn set_msr_sysenter_esp_write(&mut self, value: bool)
Bits: 21..22
Sourcepub const fn set_msr_sysenter_esp_write_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_msr_sysenter_esp_write_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 21..22
Sourcepub const fn msr_sfmask_write(&self) -> bool
pub const fn msr_sfmask_write(&self) -> bool
Bits: 22..23
Sourcepub const fn with_msr_sfmask_write_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_msr_sfmask_write_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 22..23
Sourcepub const fn with_msr_sfmask_write(self, value: bool) -> Self
pub const fn with_msr_sfmask_write(self, value: bool) -> Self
Bits: 22..23
Sourcepub const fn set_msr_sfmask_write(&mut self, value: bool)
pub const fn set_msr_sfmask_write(&mut self, value: bool)
Bits: 22..23
Sourcepub const fn set_msr_sfmask_write_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_msr_sfmask_write_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 22..23
Sourcepub const fn msr_tsc_aux_write(&self) -> bool
pub const fn msr_tsc_aux_write(&self) -> bool
Bits: 23..24
Sourcepub const fn with_msr_tsc_aux_write_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_msr_tsc_aux_write_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 23..24
Sourcepub const fn with_msr_tsc_aux_write(self, value: bool) -> Self
pub const fn with_msr_tsc_aux_write(self, value: bool) -> Self
Bits: 23..24
Sourcepub const fn set_msr_tsc_aux_write(&mut self, value: bool)
pub const fn set_msr_tsc_aux_write(&mut self, value: bool)
Bits: 23..24
Sourcepub const fn set_msr_tsc_aux_write_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_msr_tsc_aux_write_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 23..24
Sourcepub const fn msr_sgx_launch_control_write(&self) -> bool
pub const fn msr_sgx_launch_control_write(&self) -> bool
Bits: 24..25
Sourcepub const fn with_msr_sgx_launch_control_write_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_msr_sgx_launch_control_write_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 24..25
Sourcepub const fn with_msr_sgx_launch_control_write(self, value: bool) -> Self
pub const fn with_msr_sgx_launch_control_write(self, value: bool) -> Self
Bits: 24..25
Sourcepub const fn set_msr_sgx_launch_control_write(&mut self, value: bool)
pub const fn set_msr_sgx_launch_control_write(&mut self, value: bool)
Bits: 24..25
Sourcepub const fn set_msr_sgx_launch_control_write_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_msr_sgx_launch_control_write_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 24..25
Sourcepub const fn msr_xss_write(&self) -> bool
pub const fn msr_xss_write(&self) -> bool
Bits: 25..26
Sourcepub const fn with_msr_xss_write_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_msr_xss_write_checked(self, value: bool) -> Result<Self, ()>
Bits: 25..26
Sourcepub const fn with_msr_xss_write(self, value: bool) -> Self
pub const fn with_msr_xss_write(self, value: bool) -> Self
Bits: 25..26
Sourcepub const fn set_msr_xss_write(&mut self, value: bool)
pub const fn set_msr_xss_write(&mut self, value: bool)
Bits: 25..26
Sourcepub const fn msr_scet_write(&self) -> bool
pub const fn msr_scet_write(&self) -> bool
Bits: 26..27
Sourcepub const fn with_msr_scet_write_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_msr_scet_write_checked(self, value: bool) -> Result<Self, ()>
Bits: 26..27
Sourcepub const fn with_msr_scet_write(self, value: bool) -> Self
pub const fn with_msr_scet_write(self, value: bool) -> Self
Bits: 26..27
Sourcepub const fn set_msr_scet_write(&mut self, value: bool)
pub const fn set_msr_scet_write(&mut self, value: bool)
Bits: 26..27
Sourcepub const fn set_msr_scet_write_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_msr_scet_write_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 26..27
Sourcepub const fn msr_pls_ssp_write(&self) -> bool
pub const fn msr_pls_ssp_write(&self) -> bool
Bits: 27..28
Sourcepub const fn with_msr_pls_ssp_write_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_msr_pls_ssp_write_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 27..28
Sourcepub const fn with_msr_pls_ssp_write(self, value: bool) -> Self
pub const fn with_msr_pls_ssp_write(self, value: bool) -> Self
Bits: 27..28
Sourcepub const fn set_msr_pls_ssp_write(&mut self, value: bool)
pub const fn set_msr_pls_ssp_write(&mut self, value: bool)
Bits: 27..28
Sourcepub const fn set_msr_pls_ssp_write_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_msr_pls_ssp_write_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 27..28
Sourcepub const fn msr_interrupt_ssp_table_addr_write(&self) -> bool
pub const fn msr_interrupt_ssp_table_addr_write(&self) -> bool
Bits: 28..29
Sourcepub const fn with_msr_interrupt_ssp_table_addr_write_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_msr_interrupt_ssp_table_addr_write_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 28..29
Sourcepub const fn with_msr_interrupt_ssp_table_addr_write(self, value: bool) -> Self
pub const fn with_msr_interrupt_ssp_table_addr_write(self, value: bool) -> Self
Bits: 28..29
Sourcepub const fn set_msr_interrupt_ssp_table_addr_write(&mut self, value: bool)
pub const fn set_msr_interrupt_ssp_table_addr_write(&mut self, value: bool)
Bits: 28..29
Trait Implementations§
Source§impl Clone for HvRegisterCrInterceptControl
impl Clone for HvRegisterCrInterceptControl
Source§fn clone(&self) -> HvRegisterCrInterceptControl
fn clone(&self) -> HvRegisterCrInterceptControl
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more