From 0f9aca4ef41e9f4dff61c92048f4d60b00d27871 Mon Sep 17 00:00:00 2001 From: johannst Date: Fri, 14 Mar 2025 01:15:52 +0000 Subject: deploy: 3ebd8b163dc8d5679d90927de1c2fcd639882362 --- kvm_rs/kvm_sys/struct.kvm_segment.html | 48 +++++++++++++++++----------------- 1 file changed, 24 insertions(+), 24 deletions(-) (limited to 'kvm_rs/kvm_sys/struct.kvm_segment.html') diff --git a/kvm_rs/kvm_sys/struct.kvm_segment.html b/kvm_rs/kvm_sys/struct.kvm_segment.html index 903d8a3..9d6bec4 100644 --- a/kvm_rs/kvm_sys/struct.kvm_segment.html +++ b/kvm_rs/kvm_sys/struct.kvm_segment.html @@ -1,25 +1,25 @@ -kvm_segment in kvm_rs::kvm_sys - Rust

Struct kvm_rs::kvm_sys::kvm_segment

source ·
#[repr(C)]
pub struct kvm_segment { - pub base: u64, - pub limit: u32, - pub selector: u16, - pub type_: u8, - pub present: u8, - pub dpl: u8, - pub db: u8, - pub s: u8, - pub l: u8, - pub g: u8, - pub avl: u8, - /* private fields */ -}

Fields§

§base: u64§limit: u32§selector: u16§type_: u8§present: u8§dpl: u8§db: u8§s: u8§l: u8§g: u8§avl: u8

Trait Implementations§

source§

impl Debug for kvm_segment

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for kvm_segment

source§

fn default() -> kvm_segment

Returns the “default value” for a type. Read more
source§

impl Display for kvm_segment

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+kvm_segment in kvm_rs::kvm_sys - Rust
kvm_rs::kvm_sys

Struct kvm_segment

Source
#[repr(C)]
pub struct kvm_segment { + pub base: u64, + pub limit: u32, + pub selector: u16, + pub type_: u8, + pub present: u8, + pub dpl: u8, + pub db: u8, + pub s: u8, + pub l: u8, + pub g: u8, + pub avl: u8, + /* private fields */ +}

Fields§

§base: u64§limit: u32§selector: u16§type_: u8§present: u8§dpl: u8§db: u8§s: u8§l: u8§g: u8§avl: u8

Trait Implementations§

Source§

impl Debug for kvm_segment

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for kvm_segment

Source§

fn default() -> kvm_segment

Returns the “default value” for a type. Read more
Source§

impl Display for kvm_segment

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file +From<T> for U chooses to do.

+
Source§

impl<T> ToString for T
where + T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
\ No newline at end of file -- cgit v1.2.3