diff --git a/main/help.html b/main/help.html index b36e5005..43c781d7 100644 --- a/main/help.html +++ b/main/help.html @@ -1,2 +1 @@ -
pub const CLOCK_FREQ: usize = 12500000;
pub const CLOCK_FREQ: usize = 12500000;
pub const MEMORY_END: usize = 0x8800_0000;
pub const MEMORY_END: usize = 0x8800_0000;
pub const VIRTGPU_XRES: u32 = 1280;
pub const VIRTGPU_XRES: u32 = 1280;
pub const VIRTGPU_YRES: u32 = 800;
pub const VIRTGPU_YRES: u32 = 800;
pub fn device_init()
pub fn device_init()
pub fn irq_handler()
pub fn irq_handler()
pub type BlockDeviceImpl = VirtIOBlock;
struct BlockDeviceImpl {
+BlockDeviceImpl in os::board - Rust Type Alias os::board::BlockDeviceImpl
source · pub type BlockDeviceImpl = VirtIOBlock;
Aliased Type§
struct BlockDeviceImpl {
virtio_blk: UPIntrFreeCell<VirtIOBlk<'static, VirtioHal>>,
condvars: BTreeMap<u16, Condvar>,
}
Fields§
§virtio_blk: UPIntrFreeCell<VirtIOBlk<'static, VirtioHal>>
§condvars: BTreeMap<u16, Condvar>
\ No newline at end of file
diff --git a/main/os/board/type.CharDeviceImpl.html b/main/os/board/type.CharDeviceImpl.html
index 44ce2b82..4457e171 100644
--- a/main/os/board/type.CharDeviceImpl.html
+++ b/main/os/board/type.CharDeviceImpl.html
@@ -1,5 +1,4 @@
-CharDeviceImpl in os::board - Rust
- Type Alias os::board::CharDeviceImpl
source · pub type CharDeviceImpl = NS16550a<VIRT_UART>;
Aliased Type§
struct CharDeviceImpl {
+CharDeviceImpl in os::board - Rust Type Alias os::board::CharDeviceImpl
source · pub type CharDeviceImpl = NS16550a<VIRT_UART>;
Aliased Type§
struct CharDeviceImpl {
inner: UPIntrFreeCell<NS16550aInner>,
condvar: Condvar,
}
Fields§
§inner: UPIntrFreeCell<NS16550aInner>
§condvar: Condvar
\ No newline at end of file
diff --git a/main/os/config/constant.KERNEL_HEAP_SIZE.html b/main/os/config/constant.KERNEL_HEAP_SIZE.html
index a48ed0d3..1ec84317 100644
--- a/main/os/config/constant.KERNEL_HEAP_SIZE.html
+++ b/main/os/config/constant.KERNEL_HEAP_SIZE.html
@@ -1,2 +1 @@
-KERNEL_HEAP_SIZE in os::config - Rust
- Constant os::config::KERNEL_HEAP_SIZE
source · pub const KERNEL_HEAP_SIZE: usize = 0x100_0000;
\ No newline at end of file
+KERNEL_HEAP_SIZE in os::config - Rust Constant os::config::KERNEL_HEAP_SIZE
source · pub const KERNEL_HEAP_SIZE: usize = 0x100_0000;
\ No newline at end of file
diff --git a/main/os/config/constant.KERNEL_STACK_SIZE.html b/main/os/config/constant.KERNEL_STACK_SIZE.html
index 74dbf040..22f8be18 100644
--- a/main/os/config/constant.KERNEL_STACK_SIZE.html
+++ b/main/os/config/constant.KERNEL_STACK_SIZE.html
@@ -1,2 +1 @@
-KERNEL_STACK_SIZE in os::config - Rust
- Constant os::config::KERNEL_STACK_SIZE
source · pub const KERNEL_STACK_SIZE: usize = _; // 8_192usize
\ No newline at end of file
+KERNEL_STACK_SIZE in os::config - Rust Constant os::config::KERNEL_STACK_SIZE
source · pub const KERNEL_STACK_SIZE: usize = _; // 8_192usize
\ No newline at end of file
diff --git a/main/os/config/constant.PAGE_SIZE.html b/main/os/config/constant.PAGE_SIZE.html
index 1d78f6fb..93a41186 100644
--- a/main/os/config/constant.PAGE_SIZE.html
+++ b/main/os/config/constant.PAGE_SIZE.html
@@ -1,2 +1 @@
-PAGE_SIZE in os::config - Rust
-
\ No newline at end of file
+PAGE_SIZE in os::config - Rust
\ No newline at end of file
diff --git a/main/os/config/constant.PAGE_SIZE_BITS.html b/main/os/config/constant.PAGE_SIZE_BITS.html
index dd34acf3..57d5a80b 100644
--- a/main/os/config/constant.PAGE_SIZE_BITS.html
+++ b/main/os/config/constant.PAGE_SIZE_BITS.html
@@ -1,2 +1 @@
-PAGE_SIZE_BITS in os::config - Rust
- Constant os::config::PAGE_SIZE_BITS
source · pub const PAGE_SIZE_BITS: usize = 0xc;
\ No newline at end of file
+PAGE_SIZE_BITS in os::config - Rust Constant os::config::PAGE_SIZE_BITS
source · pub const PAGE_SIZE_BITS: usize = 0xc;
\ No newline at end of file
diff --git a/main/os/config/constant.TRAMPOLINE.html b/main/os/config/constant.TRAMPOLINE.html
index 1d53fe5c..956736b9 100644
--- a/main/os/config/constant.TRAMPOLINE.html
+++ b/main/os/config/constant.TRAMPOLINE.html
@@ -1,2 +1 @@
-TRAMPOLINE in os::config - Rust
- Constant os::config::TRAMPOLINE
source · pub const TRAMPOLINE: usize = _; // 18_446_744_073_709_547_520usize
\ No newline at end of file
+TRAMPOLINE in os::config - Rust Constant os::config::TRAMPOLINE
source · pub const TRAMPOLINE: usize = _; // 18_446_744_073_709_547_520usize
\ No newline at end of file
diff --git a/main/os/config/constant.TRAP_CONTEXT_BASE.html b/main/os/config/constant.TRAP_CONTEXT_BASE.html
index 8de68bbd..180d4672 100644
--- a/main/os/config/constant.TRAP_CONTEXT_BASE.html
+++ b/main/os/config/constant.TRAP_CONTEXT_BASE.html
@@ -1,2 +1 @@
-TRAP_CONTEXT_BASE in os::config - Rust
- Constant os::config::TRAP_CONTEXT_BASE
source · pub const TRAP_CONTEXT_BASE: usize = _; // 18_446_744_073_709_543_424usize
\ No newline at end of file
+TRAP_CONTEXT_BASE in os::config - Rust Constant os::config::TRAP_CONTEXT_BASE
source · pub const TRAP_CONTEXT_BASE: usize = _; // 18_446_744_073_709_543_424usize
\ No newline at end of file
diff --git a/main/os/config/constant.USER_STACK_SIZE.html b/main/os/config/constant.USER_STACK_SIZE.html
index f94afaec..83e11867 100644
--- a/main/os/config/constant.USER_STACK_SIZE.html
+++ b/main/os/config/constant.USER_STACK_SIZE.html
@@ -1,2 +1 @@
-USER_STACK_SIZE in os::config - Rust
- Constant os::config::USER_STACK_SIZE
source · pub const USER_STACK_SIZE: usize = _; // 8_192usize
\ No newline at end of file
+USER_STACK_SIZE in os::config - Rust Constant os::config::USER_STACK_SIZE
source · pub const USER_STACK_SIZE: usize = _; // 8_192usize
\ No newline at end of file
diff --git a/main/os/config/index.html b/main/os/config/index.html
index 6748d4a4..c5724844 100644
--- a/main/os/config/index.html
+++ b/main/os/config/index.html
@@ -1,2 +1 @@
-os::config - Rust
- Re-exports
pub use crate::board::CLOCK_FREQ;
pub use crate::board::MEMORY_END;
pub use crate::board::MMIO;
Constants
\ No newline at end of file
+os::config - Rust Re-exports§
pub use crate::board::CLOCK_FREQ;
pub use crate::board::MEMORY_END;
pub use crate::board::MMIO;
Constants§
\ No newline at end of file
diff --git a/main/os/console/fn.print.html b/main/os/console/fn.print.html
index 00ed8511..caba2d62 100644
--- a/main/os/console/fn.print.html
+++ b/main/os/console/fn.print.html
@@ -1,2 +1 @@
-print in os::console - Rust
-
\ No newline at end of file
+print in os::console - Rust
\ No newline at end of file
diff --git a/main/os/console/index.html b/main/os/console/index.html
index 8a46ec44..779c9629 100644
--- a/main/os/console/index.html
+++ b/main/os/console/index.html
@@ -1,2 +1 @@
-os::console - Rust
-
\ No newline at end of file
+os::console - Rust
\ No newline at end of file
diff --git a/main/os/console/struct.Stdout.html b/main/os/console/struct.Stdout.html
index cb5fe9ea..5f1ff7e1 100644
--- a/main/os/console/struct.Stdout.html
+++ b/main/os/console/struct.Stdout.html
@@ -1,24 +1,23 @@
-Stdout in os::console - Rust
- struct Stdout;
Trait Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for Stdout
§impl Send for Stdout
§impl Sync for Stdout
§impl Unpin for Stdout
§impl UnwindSafe for Stdout
Blanket Implementations§
source§impl<T> Any for Twhere
+Stdout in os::console - Rust struct Stdout;
Trait Implementations§
Auto Trait Implementations§
§impl Freeze for Stdout
§impl RefUnwindSafe for Stdout
§impl Send for Stdout
§impl Sync for Stdout
§impl Unpin for Stdout
§impl UnwindSafe for Stdout
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
- Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T, U> Into<U> for Twhere
- U: From<T>,
source§fn into(self) -> U
Calls U::from(self)
.
+ Src: CheckedCast<Dst>,source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.source§impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
- Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
+ Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
source§fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> WrappingAs for T
source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
diff --git a/main/os/drivers/block/fn.block_device_test.html b/main/os/drivers/block/fn.block_device_test.html
index 4dd4472d..45e43c1d 100644
--- a/main/os/drivers/block/fn.block_device_test.html
+++ b/main/os/drivers/block/fn.block_device_test.html
@@ -1,2 +1 @@
-block_device_test in os::drivers::block - Rust
- Function os::drivers::block::block_device_test
source · pub fn block_device_test()
\ No newline at end of file
+block_device_test in os::drivers::block - Rust Function os::drivers::block::block_device_test
source · pub fn block_device_test()
\ No newline at end of file
diff --git a/main/os/drivers/block/index.html b/main/os/drivers/block/index.html
index 785f1633..ddfe61b9 100644
--- a/main/os/drivers/block/index.html
+++ b/main/os/drivers/block/index.html
@@ -1,2 +1 @@
-os::drivers::block - Rust
- Re-exports
pub use virtio_blk::VirtIOBlock;
Modules
Structs
Functions
\ No newline at end of file
+os::drivers::block - Rust Re-exports§
pub use virtio_blk::VirtIOBlock;
Modules§
Structs§
Functions§
\ No newline at end of file
diff --git a/main/os/drivers/block/struct.BLOCK_DEVICE.html b/main/os/drivers/block/struct.BLOCK_DEVICE.html
index dd51b399..8bf4bb29 100644
--- a/main/os/drivers/block/struct.BLOCK_DEVICE.html
+++ b/main/os/drivers/block/struct.BLOCK_DEVICE.html
@@ -1,25 +1,24 @@
-BLOCK_DEVICE in os::drivers::block - Rust
- Struct os::drivers::block::BLOCK_DEVICE
source · pub struct BLOCK_DEVICE {
+BLOCK_DEVICE in os::drivers::block - Rust Struct os::drivers::block::BLOCK_DEVICE
source · pub struct BLOCK_DEVICE {
__private_field: (),
-}
Fields§
§__private_field: ()
Trait Implementations§
source§impl Deref for BLOCK_DEVICE
source§impl LazyStatic for BLOCK_DEVICE
Auto Trait Implementations§
§impl RefUnwindSafe for BLOCK_DEVICE
§impl Send for BLOCK_DEVICE
§impl Sync for BLOCK_DEVICE
§impl Unpin for BLOCK_DEVICE
§impl UnwindSafe for BLOCK_DEVICE
Blanket Implementations§
source§impl<T> Any for Twhere
+}Fields§
§__private_field: ()
Trait Implementations§
source§impl Deref for BLOCK_DEVICE
source§impl LazyStatic for BLOCK_DEVICE
Auto Trait Implementations§
§impl Freeze for BLOCK_DEVICE
§impl RefUnwindSafe for BLOCK_DEVICE
§impl Send for BLOCK_DEVICE
§impl Sync for BLOCK_DEVICE
§impl Unpin for BLOCK_DEVICE
§impl UnwindSafe for BLOCK_DEVICE
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
- Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T, U> Into<U> for Twhere
- U: From<T>,
source§fn into(self) -> U
Calls U::from(self)
.
+ Src: CheckedCast<Dst>,source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.source§impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
- Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
+ Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
source§fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> WrappingAs for T
source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
diff --git a/main/os/drivers/block/virtio_blk/constant.VIRTIO0.html b/main/os/drivers/block/virtio_blk/constant.VIRTIO0.html
index da7571b3..66cb2c5d 100644
--- a/main/os/drivers/block/virtio_blk/constant.VIRTIO0.html
+++ b/main/os/drivers/block/virtio_blk/constant.VIRTIO0.html
@@ -1,2 +1 @@
-VIRTIO0 in os::drivers::block::virtio_blk - Rust
-
\ No newline at end of file
+VIRTIO0 in os::drivers::block::virtio_blk - Rust
\ No newline at end of file
diff --git a/main/os/drivers/block/virtio_blk/index.html b/main/os/drivers/block/virtio_blk/index.html
index 159cb61d..446fba40 100644
--- a/main/os/drivers/block/virtio_blk/index.html
+++ b/main/os/drivers/block/virtio_blk/index.html
@@ -1,2 +1 @@
-os::drivers::block::virtio_blk - Rust
-
\ No newline at end of file
+os::drivers::block::virtio_blk - Rust
\ No newline at end of file
diff --git a/main/os/drivers/block/virtio_blk/struct.VirtIOBlock.html b/main/os/drivers/block/virtio_blk/struct.VirtIOBlock.html
index f8824c5a..ae78fa92 100644
--- a/main/os/drivers/block/virtio_blk/struct.VirtIOBlock.html
+++ b/main/os/drivers/block/virtio_blk/struct.VirtIOBlock.html
@@ -1,26 +1,25 @@
-VirtIOBlock in os::drivers::block::virtio_blk - Rust
- Struct os::drivers::block::virtio_blk::VirtIOBlock
source · pub struct VirtIOBlock {
+VirtIOBlock in os::drivers::block::virtio_blk - Rust Struct os::drivers::block::virtio_blk::VirtIOBlock
source · pub struct VirtIOBlock {
virtio_blk: UPIntrFreeCell<VirtIOBlk<'static, VirtioHal>>,
condvars: BTreeMap<u16, Condvar>,
-}
Fields§
§virtio_blk: UPIntrFreeCell<VirtIOBlk<'static, VirtioHal>>
§condvars: BTreeMap<u16, Condvar>
Implementations§
source§impl VirtIOBlock
Trait Implementations§
source§impl BlockDevice for VirtIOBlock
source§fn read_block(&self, block_id: usize, buf: &mut [u8])
source§fn write_block(&self, block_id: usize, buf: &[u8])
source§fn handle_irq(&self)
Auto Trait Implementations§
§impl !RefUnwindSafe for VirtIOBlock
§impl Send for VirtIOBlock
§impl Sync for VirtIOBlock
§impl Unpin for VirtIOBlock
§impl !UnwindSafe for VirtIOBlock
Blanket Implementations§
source§impl<T> Any for Twhere
+}Fields§
§virtio_blk: UPIntrFreeCell<VirtIOBlk<'static, VirtioHal>>
§condvars: BTreeMap<u16, Condvar>
Implementations§
source§impl VirtIOBlock
Trait Implementations§
source§impl BlockDevice for VirtIOBlock
source§fn read_block(&self, block_id: usize, buf: &mut [u8])
source§fn write_block(&self, block_id: usize, buf: &[u8])
source§fn handle_irq(&self)
Auto Trait Implementations§
§impl !Freeze for VirtIOBlock
§impl !RefUnwindSafe for VirtIOBlock
§impl Send for VirtIOBlock
§impl Sync for VirtIOBlock
§impl Unpin for VirtIOBlock
§impl !UnwindSafe for VirtIOBlock
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
- Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T, U> Into<U> for Twhere
- U: From<T>,
source§fn into(self) -> U
Calls U::from(self)
.
+ Src: CheckedCast<Dst>,source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.source§impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
- Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
+ Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
source§fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> WrappingAs for T
source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
diff --git a/main/os/drivers/bus/index.html b/main/os/drivers/bus/index.html
index 5f92f899..16273cef 100644
--- a/main/os/drivers/bus/index.html
+++ b/main/os/drivers/bus/index.html
@@ -1,2 +1 @@
-os::drivers::bus - Rust
-
\ No newline at end of file
+os::drivers::bus - Rust
\ No newline at end of file
diff --git a/main/os/drivers/bus/virtio/index.html b/main/os/drivers/bus/virtio/index.html
index 8af3e137..15ce0205 100644
--- a/main/os/drivers/bus/virtio/index.html
+++ b/main/os/drivers/bus/virtio/index.html
@@ -1,2 +1 @@
-os::drivers::bus::virtio - Rust
-
\ No newline at end of file
+os::drivers::bus::virtio - Rust
\ No newline at end of file
diff --git a/main/os/drivers/bus/virtio/struct.QUEUE_FRAMES.html b/main/os/drivers/bus/virtio/struct.QUEUE_FRAMES.html
index daf23845..fd21df90 100644
--- a/main/os/drivers/bus/virtio/struct.QUEUE_FRAMES.html
+++ b/main/os/drivers/bus/virtio/struct.QUEUE_FRAMES.html
@@ -1,27 +1,26 @@
-QUEUE_FRAMES in os::drivers::bus::virtio - Rust
- struct QUEUE_FRAMES {
+QUEUE_FRAMES in os::drivers::bus::virtio - Rust struct QUEUE_FRAMES {
__private_field: (),
}
Fields§
§__private_field: ()
Methods from Deref<Target = UPIntrFreeCell<Vec<FrameTracker>>>§
sourcepub fn exclusive_access(&self) -> UPIntrRefMut<'_, T>
Panic if the data has been borrowed.
sourcepub fn exclusive_session<F, V>(&self, f: F) -> V
Trait Implementations§
source§impl Deref for QUEUE_FRAMES
§type Target = UPIntrFreeCell<Vec<FrameTracker>>
The resulting type after dereferencing.source§fn deref(&self) -> &UPIntrFreeCell<Vec<FrameTracker>>
Dereferences the value.source§impl LazyStatic for QUEUE_FRAMES
Auto Trait Implementations§
§impl RefUnwindSafe for QUEUE_FRAMES
§impl Send for QUEUE_FRAMES
§impl Sync for QUEUE_FRAMES
§impl Unpin for QUEUE_FRAMES
§impl UnwindSafe for QUEUE_FRAMES
Blanket Implementations§
Trait Implementations§
source§impl Deref for QUEUE_FRAMES
§type Target = UPIntrFreeCell<Vec<FrameTracker>>
The resulting type after dereferencing.source§fn deref(&self) -> &UPIntrFreeCell<Vec<FrameTracker>>
Dereferences the value.source§impl LazyStatic for QUEUE_FRAMES
Auto Trait Implementations§
§impl Freeze for QUEUE_FRAMES
§impl RefUnwindSafe for QUEUE_FRAMES
§impl Send for QUEUE_FRAMES
§impl Sync for QUEUE_FRAMES
§impl Unpin for QUEUE_FRAMES
§impl UnwindSafe for QUEUE_FRAMES
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
- Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T, U> Into<U> for Twhere
- U: From<T>,
source§fn into(self) -> U
Calls U::from(self)
.
+ Src: CheckedCast<Dst>,source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.source§impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
- Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
+ Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
source§fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> WrappingAs for T
source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
diff --git a/main/os/drivers/bus/virtio/struct.VirtioHal.html b/main/os/drivers/bus/virtio/struct.VirtioHal.html
index a84658fb..625ba7dd 100644
--- a/main/os/drivers/bus/virtio/struct.VirtioHal.html
+++ b/main/os/drivers/bus/virtio/struct.VirtioHal.html
@@ -1,25 +1,24 @@
-VirtioHal in os::drivers::bus::virtio - Rust
- pub struct VirtioHal;
Trait Implementations§
source§impl Hal for VirtioHal
source§fn dma_alloc(pages: usize) -> usize
Allocates the given number of contiguous physical pages of DMA memory for virtio use.source§fn dma_dealloc(pa: usize, pages: usize) -> i32
Deallocates the given contiguous physical DMA memory pages.source§fn phys_to_virt(addr: usize) -> usize
Converts a physical address used for virtio to a virtual address which the program can
+VirtioHal in os::drivers::bus::virtio - Rust pub struct VirtioHal;
Trait Implementations§
source§impl Hal for VirtioHal
source§fn dma_alloc(pages: usize) -> usize
Allocates the given number of contiguous physical pages of DMA memory for virtio use.source§fn dma_dealloc(pa: usize, pages: usize) -> i32
Deallocates the given contiguous physical DMA memory pages.source§fn phys_to_virt(addr: usize) -> usize
Converts a physical address used for virtio to a virtual address which the program can
access.source§fn virt_to_phys(vaddr: usize) -> usize
Converts a virtual address which the program can access to the corresponding physical
-address to use for virtio.Auto Trait Implementations§
§impl RefUnwindSafe for VirtioHal
§impl Send for VirtioHal
§impl Sync for VirtioHal
§impl Unpin for VirtioHal
§impl UnwindSafe for VirtioHal
Blanket Implementations§
Auto Trait Implementations§
§impl Freeze for VirtioHal
§impl RefUnwindSafe for VirtioHal
§impl Send for VirtioHal
§impl Sync for VirtioHal
§impl Unpin for VirtioHal
§impl UnwindSafe for VirtioHal
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
- Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T, U> Into<U> for Twhere
- U: From<T>,
source§fn into(self) -> U
Calls U::from(self)
.
+ Src: CheckedCast<Dst>,source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.source§impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
- Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
+ Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
source§fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> WrappingAs for T
source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
diff --git a/main/os/drivers/chardev/index.html b/main/os/drivers/chardev/index.html
index 5b455dad..dd8ac9bf 100644
--- a/main/os/drivers/chardev/index.html
+++ b/main/os/drivers/chardev/index.html
@@ -1,2 +1 @@
-os::drivers::chardev - Rust
-
\ No newline at end of file
+os::drivers::chardev - Rust
\ No newline at end of file
diff --git a/main/os/drivers/chardev/ns16550a/index.html b/main/os/drivers/chardev/ns16550a/index.html
index 774121c6..21ce7c49 100644
--- a/main/os/drivers/chardev/ns16550a/index.html
+++ b/main/os/drivers/chardev/ns16550a/index.html
@@ -1,2 +1 @@
-os::drivers::chardev::ns16550a - Rust
- Structs
- InterruptEnableRegister
- LineStatusRegister
- Model Control Register
\ No newline at end of file
+os::drivers::chardev::ns16550a - Rust Structs§
- InterruptEnableRegister
- LineStatusRegister
- Model Control Register
\ No newline at end of file
diff --git a/main/os/drivers/chardev/ns16550a/struct.IER.html b/main/os/drivers/chardev/ns16550a/struct.IER.html
index 5470e836..a28bf7cc 100644
--- a/main/os/drivers/chardev/ns16550a/struct.IER.html
+++ b/main/os/drivers/chardev/ns16550a/struct.IER.html
@@ -1,5 +1,4 @@
-IER in os::drivers::chardev::ns16550a - Rust
- pub struct IER {
+IER in os::drivers::chardev::ns16550a - Rust pub struct IER {
bits: u8,
}
Expand description
InterruptEnableRegister
Fields§
§bits: u8
Implementations§
source§impl IER
sourcepub const RX_AVAILABLE: Self = _
sourcepub const TX_EMPTY: Self = _
sourcepub const fn empty() -> Self
Returns an empty set of flags.
@@ -11,7 +10,7 @@ representation contains bits that do not correspond to a flag.
that do not correspond to flags.
sourcepub const unsafe fn from_bits_unchecked(bits: u8) -> Self
Convert from underlying bit representation, preserving all
bits (even those not corresponding to a defined flag).
-Safety
+§Safety
The caller of the bitflags!
macro can chose to allow or
disallow extra bits for their bitflags type.
The caller of from_bits_unchecked()
has to ensure that
@@ -60,34 +59,34 @@ not set in self
, but which are allowed for this type.
between Self::all()
and self
(e.g. Self::all() - self
)
This is equivalent to using the !
operator (e.g.
ops::Not
), as in !flags
.
-Trait Implementations§
source§impl BitAndAssign for IER
source§fn bitand_assign(&mut self, other: Self)
Disables all flags disabled in the set.
+Trait Implementations§
source§impl BitAndAssign for IER
source§fn bitand_assign(&mut self, other: Self)
Disables all flags disabled in the set.
source§impl BitOrAssign for IER
source§impl BitOrAssign for IER
source§fn bitor_assign(&mut self, other: Self)
Adds the set of flags.
source§impl BitXorAssign for IER
source§fn bitxor_assign(&mut self, other: Self)
Toggles the set of flags.
-source§impl Extend<IER> for IER
source§fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)
Extends a collection with the contents of an iterator. Read moresource§fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (extend_one
)Extends a collection with exactly one element.source§fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (extend_one
)Reserves capacity in a collection for the given number of additional elements. Read moresource§impl FromIterator<IER> for IER
source§fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self
Creates a value from an iterator. Read moresource§impl BitXorAssign for IER
source§fn bitxor_assign(&mut self, other: Self)
Toggles the set of flags.
+source§impl Extend<IER> for IER
source§fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)
Extends a collection with the contents of an iterator. Read moresource§fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (extend_one
)Extends a collection with exactly one element.source§fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (extend_one
)Reserves capacity in a collection for the given number of additional elements. Read moresource§impl FromIterator<IER> for IER
source§fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self
Creates a value from an iterator. Read moresource§impl Ord for IER
source§impl Ord for IER
source§impl PartialEq for IER
source§impl PartialOrd for IER
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
-operator. Read moresource§impl PartialOrd for IER
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
+operator. Read moresource§impl SubAssign for IER
source§fn sub_assign(&mut self, other: Self)
Disables all flags enabled in the set.
-source§impl Copy for IER
source§impl Eq for IER
source§impl StructuralEq for IER
source§impl StructuralPartialEq for IER
Auto Trait Implementations§
§impl RefUnwindSafe for IER
§impl Send for IER
§impl Sync for IER
§impl Unpin for IER
§impl UnwindSafe for IER
Blanket Implementations§
source§impl Copy for IER
source§impl Eq for IER
source§impl StructuralPartialEq for IER
Auto Trait Implementations§
§impl Freeze for IER
§impl RefUnwindSafe for IER
§impl Send for IER
§impl Sync for IER
§impl Unpin for IER
§impl UnwindSafe for IER
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
- Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T, U> Into<U> for Twhere
- U: From<T>,
source§fn into(self) -> U
Calls U::from(self)
.
+ Src: CheckedCast<Dst>,source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
@@ -95,9 +94,9 @@ operator. OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.source§impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
+ T: Clone,
source§impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
source§fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> WrappingAs for T
source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
diff --git a/main/os/drivers/chardev/ns16550a/struct.LSR.html b/main/os/drivers/chardev/ns16550a/struct.LSR.html
index 37e2e6e1..45f7de0c 100644
--- a/main/os/drivers/chardev/ns16550a/struct.LSR.html
+++ b/main/os/drivers/chardev/ns16550a/struct.LSR.html
@@ -1,5 +1,4 @@
-LSR in os::drivers::chardev::ns16550a - Rust
- pub struct LSR {
+LSR in os::drivers::chardev::ns16550a - Rust pub struct LSR {
bits: u8,
}
Expand description
LineStatusRegister
Fields§
§bits: u8
Implementations§
source§impl LSR
sourcepub const DATA_AVAILABLE: Self = _
sourcepub const THR_EMPTY: Self = _
sourcepub const fn empty() -> Self
Returns an empty set of flags.
@@ -11,7 +10,7 @@ representation contains bits that do not correspond to a flag.
that do not correspond to flags.
sourcepub const unsafe fn from_bits_unchecked(bits: u8) -> Self
Convert from underlying bit representation, preserving all
bits (even those not corresponding to a defined flag).
-Safety
+§Safety
The caller of the bitflags!
macro can chose to allow or
disallow extra bits for their bitflags type.
The caller of from_bits_unchecked()
has to ensure that
@@ -60,34 +59,34 @@ not set in self
, but which are allowed for this type.
between Self::all()
and self
(e.g. Self::all() - self
)
This is equivalent to using the !
operator (e.g.
ops::Not
), as in !flags
.
-Trait Implementations§
Trait Implementations§
source§impl BitAndAssign for LSR
source§fn bitand_assign(&mut self, other: Self)
Disables all flags disabled in the set.
source§impl BitOrAssign for LSR
source§impl BitOrAssign for LSR
source§fn bitor_assign(&mut self, other: Self)
Adds the set of flags.
source§impl BitXorAssign for LSR
source§fn bitxor_assign(&mut self, other: Self)
Toggles the set of flags.
-source§impl Extend<LSR> for LSR
source§fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)
Extends a collection with the contents of an iterator. Read moresource§fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (extend_one
)Extends a collection with exactly one element.source§fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (extend_one
)Reserves capacity in a collection for the given number of additional elements. Read moresource§impl FromIterator<LSR> for LSR
source§fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self
Creates a value from an iterator. Read moresource§impl BitXorAssign for LSR
source§fn bitxor_assign(&mut self, other: Self)
Toggles the set of flags.
+source§impl Extend<LSR> for LSR
source§fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)
Extends a collection with the contents of an iterator. Read moresource§fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (extend_one
)Extends a collection with exactly one element.source§fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (extend_one
)Reserves capacity in a collection for the given number of additional elements. Read moresource§impl FromIterator<LSR> for LSR
source§fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self
Creates a value from an iterator. Read moresource§impl Ord for LSR
source§impl Ord for LSR
source§impl PartialEq for LSR
source§impl PartialOrd for LSR
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
-operator. Read moresource§impl PartialOrd for LSR
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
+operator. Read moresource§impl SubAssign for LSR
source§fn sub_assign(&mut self, other: Self)
Disables all flags enabled in the set.
-source§impl Copy for LSR
source§impl Eq for LSR
source§impl StructuralEq for LSR
source§impl StructuralPartialEq for LSR
Auto Trait Implementations§
§impl RefUnwindSafe for LSR
§impl Send for LSR
§impl Sync for LSR
§impl Unpin for LSR
§impl UnwindSafe for LSR
Blanket Implementations§
source§impl SubAssign for LSR
source§fn sub_assign(&mut self, other: Self)
Disables all flags enabled in the set.
+source§impl Copy for LSR
source§impl Eq for LSR
source§impl StructuralPartialEq for LSR
Auto Trait Implementations§
§impl Freeze for LSR
§impl RefUnwindSafe for LSR
§impl Send for LSR
§impl Sync for LSR
§impl Unpin for LSR
§impl UnwindSafe for LSR
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
- Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T, U> Into<U> for Twhere
- U: From<T>,
source§fn into(self) -> U
Calls U::from(self)
.
+ Src: CheckedCast<Dst>,source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
@@ -95,9 +94,9 @@ operator. OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.source§impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
+ T: Clone,
source§impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
source§fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> WrappingAs for T
source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
diff --git a/main/os/drivers/chardev/ns16550a/struct.MCR.html b/main/os/drivers/chardev/ns16550a/struct.MCR.html
index 26de4a8b..5893ae63 100644
--- a/main/os/drivers/chardev/ns16550a/struct.MCR.html
+++ b/main/os/drivers/chardev/ns16550a/struct.MCR.html
@@ -1,5 +1,4 @@
-MCR in os::drivers::chardev::ns16550a - Rust
- pub struct MCR {
+MCR in os::drivers::chardev::ns16550a - Rust pub struct MCR {
bits: u8,
}
Expand description
Model Control Register
Fields§
§bits: u8
Implementations§
source§impl MCR
sourcepub const DATA_TERMINAL_READY: Self = _
sourcepub const REQUEST_TO_SEND: Self = _
sourcepub const AUX_OUTPUT1: Self = _
sourcepub const AUX_OUTPUT2: Self = _
sourcepub const fn empty() -> Self
Returns an empty set of flags.
@@ -11,7 +10,7 @@ representation contains bits that do not correspond to a flag.
that do not correspond to flags.
sourcepub const unsafe fn from_bits_unchecked(bits: u8) -> Self
Convert from underlying bit representation, preserving all
bits (even those not corresponding to a defined flag).
-Safety
+§Safety
The caller of the bitflags!
macro can chose to allow or
disallow extra bits for their bitflags type.
The caller of from_bits_unchecked()
has to ensure that
@@ -61,33 +60,33 @@ between ops::Not
), as in !flags
.
Trait Implementations§
source§impl BitAndAssign for MCR
source§impl BitAndAssign for MCR
source§fn bitand_assign(&mut self, other: Self)
Disables all flags disabled in the set.
source§impl BitOrAssign for MCR
source§impl BitOrAssign for MCR
source§fn bitor_assign(&mut self, other: Self)
Adds the set of flags.
source§impl BitXorAssign for MCR
source§fn bitxor_assign(&mut self, other: Self)
Toggles the set of flags.
-source§impl Extend<MCR> for MCR
source§fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)
Extends a collection with the contents of an iterator. Read moresource§fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (extend_one
)Extends a collection with exactly one element.source§fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (extend_one
)Reserves capacity in a collection for the given number of additional elements. Read moresource§impl FromIterator<MCR> for MCR
source§fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self
Creates a value from an iterator. Read moresource§impl BitXorAssign for MCR
source§fn bitxor_assign(&mut self, other: Self)
Toggles the set of flags.
+source§impl Extend<MCR> for MCR
source§fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)
Extends a collection with the contents of an iterator. Read moresource§fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (extend_one
)Extends a collection with exactly one element.source§fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (extend_one
)Reserves capacity in a collection for the given number of additional elements. Read moresource§impl FromIterator<MCR> for MCR
source§fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self
Creates a value from an iterator. Read moresource§impl Ord for MCR
source§impl Ord for MCR
source§impl PartialEq for MCR
source§impl PartialOrd for MCR
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
-operator. Read moresource§impl PartialOrd for MCR
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
+operator. Read moresource§impl SubAssign for MCR
source§fn sub_assign(&mut self, other: Self)
Disables all flags enabled in the set.
-source§impl Copy for MCR
source§impl Eq for MCR
source§impl StructuralEq for MCR
source§impl StructuralPartialEq for MCR
Auto Trait Implementations§
§impl RefUnwindSafe for MCR
§impl Send for MCR
§impl Sync for MCR
§impl Unpin for MCR
§impl UnwindSafe for MCR
Blanket Implementations§
source§impl SubAssign for MCR
source§fn sub_assign(&mut self, other: Self)
Disables all flags enabled in the set.
+source§impl Copy for MCR
source§impl Eq for MCR
source§impl StructuralPartialEq for MCR
Auto Trait Implementations§
§impl Freeze for MCR
§impl RefUnwindSafe for MCR
§impl Send for MCR
§impl Sync for MCR
§impl Unpin for MCR
§impl UnwindSafe for MCR
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
- Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T, U> Into<U> for Twhere
- U: From<T>,
source§fn into(self) -> U
Calls U::from(self)
.
+ Src: CheckedCast<Dst>,source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
@@ -95,9 +94,9 @@ operator. OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.source§impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
+ T: Clone,
source§impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
source§fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> WrappingAs for T
source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
diff --git a/main/os/drivers/chardev/ns16550a/struct.NS16550a.html b/main/os/drivers/chardev/ns16550a/struct.NS16550a.html
index 4c4ef56b..cdecd91a 100644
--- a/main/os/drivers/chardev/ns16550a/struct.NS16550a.html
+++ b/main/os/drivers/chardev/ns16550a/struct.NS16550a.html
@@ -1,26 +1,25 @@
-NS16550a in os::drivers::chardev::ns16550a - Rust
- pub struct NS16550a<const BASE_ADDR: usize> {
+NS16550a in os::drivers::chardev::ns16550a - Rust pub struct NS16550a<const BASE_ADDR: usize> {
inner: UPIntrFreeCell<NS16550aInner>,
condvar: Condvar,
-}
Fields§
§inner: UPIntrFreeCell<NS16550aInner>
§condvar: Condvar
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl<const BASE_ADDR: usize> !RefUnwindSafe for NS16550a<BASE_ADDR>
§impl<const BASE_ADDR: usize> Send for NS16550a<BASE_ADDR>
§impl<const BASE_ADDR: usize> Sync for NS16550a<BASE_ADDR>
§impl<const BASE_ADDR: usize> Unpin for NS16550a<BASE_ADDR>
§impl<const BASE_ADDR: usize> !UnwindSafe for NS16550a<BASE_ADDR>
Blanket Implementations§
source§impl<T> Any for Twhere
+}Fields§
§inner: UPIntrFreeCell<NS16550aInner>
§condvar: Condvar
Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl<const BASE_ADDR: usize> !Freeze for NS16550a<BASE_ADDR>
§impl<const BASE_ADDR: usize> !RefUnwindSafe for NS16550a<BASE_ADDR>
§impl<const BASE_ADDR: usize> Send for NS16550a<BASE_ADDR>
§impl<const BASE_ADDR: usize> Sync for NS16550a<BASE_ADDR>
§impl<const BASE_ADDR: usize> Unpin for NS16550a<BASE_ADDR>
§impl<const BASE_ADDR: usize> !UnwindSafe for NS16550a<BASE_ADDR>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
- Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T, U> Into<U> for Twhere
- U: From<T>,
source§fn into(self) -> U
Calls U::from(self)
.
+ Src: CheckedCast<Dst>,source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.source§impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
- Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
+ Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
source§fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> WrappingAs for T
source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
diff --git a/main/os/drivers/chardev/ns16550a/struct.NS16550aInner.html b/main/os/drivers/chardev/ns16550a/struct.NS16550aInner.html
index 02d76245..03674c53 100644
--- a/main/os/drivers/chardev/ns16550a/struct.NS16550aInner.html
+++ b/main/os/drivers/chardev/ns16550a/struct.NS16550aInner.html
@@ -1,26 +1,25 @@
-NS16550aInner in os::drivers::chardev::ns16550a - Rust
- struct NS16550aInner {
+NS16550aInner in os::drivers::chardev::ns16550a - Rust struct NS16550aInner {
ns16550a: NS16550aRaw,
read_buffer: VecDeque<u8>,
-}
Fields§
§ns16550a: NS16550aRaw
§read_buffer: VecDeque<u8>
Auto Trait Implementations§
§impl RefUnwindSafe for NS16550aInner
§impl Send for NS16550aInner
§impl Sync for NS16550aInner
§impl Unpin for NS16550aInner
§impl UnwindSafe for NS16550aInner
Blanket Implementations§
source§impl<T> Any for Twhere
+}Fields§
§ns16550a: NS16550aRaw
§read_buffer: VecDeque<u8>
Auto Trait Implementations§
§impl Freeze for NS16550aInner
§impl RefUnwindSafe for NS16550aInner
§impl Send for NS16550aInner
§impl Sync for NS16550aInner
§impl Unpin for NS16550aInner
§impl UnwindSafe for NS16550aInner
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
- Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T, U> Into<U> for Twhere
- U: From<T>,
source§fn into(self) -> U
Calls U::from(self)
.
+ Src: CheckedCast<Dst>,source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.source§impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
- Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
+ Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
source§fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> WrappingAs for T
source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
diff --git a/main/os/drivers/chardev/ns16550a/struct.NS16550aRaw.html b/main/os/drivers/chardev/ns16550a/struct.NS16550aRaw.html
index 35c465c0..c81133d9 100644
--- a/main/os/drivers/chardev/ns16550a/struct.NS16550aRaw.html
+++ b/main/os/drivers/chardev/ns16550a/struct.NS16550aRaw.html
@@ -1,25 +1,24 @@
-NS16550aRaw in os::drivers::chardev::ns16550a - Rust
- pub struct NS16550aRaw {
+NS16550aRaw in os::drivers::chardev::ns16550a - Rust pub struct NS16550aRaw {
base_addr: usize,
-}
Fields§
§base_addr: usize
Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for NS16550aRaw
§impl Send for NS16550aRaw
§impl Sync for NS16550aRaw
§impl Unpin for NS16550aRaw
§impl UnwindSafe for NS16550aRaw
Blanket Implementations§
source§impl<T> Any for Twhere
+}Fields§
§base_addr: usize
Implementations§
Auto Trait Implementations§
§impl Freeze for NS16550aRaw
§impl RefUnwindSafe for NS16550aRaw
§impl Send for NS16550aRaw
§impl Sync for NS16550aRaw
§impl Unpin for NS16550aRaw
§impl UnwindSafe for NS16550aRaw
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
- Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T, U> Into<U> for Twhere
- U: From<T>,
source§fn into(self) -> U
Calls U::from(self)
.
+ Src: CheckedCast<Dst>,source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.source§impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
- Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
+ Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
source§fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> WrappingAs for T
source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
diff --git a/main/os/drivers/chardev/ns16550a/struct.ReadWithoutDLAB.html b/main/os/drivers/chardev/ns16550a/struct.ReadWithoutDLAB.html
index 29165bf1..9918259f 100644
--- a/main/os/drivers/chardev/ns16550a/struct.ReadWithoutDLAB.html
+++ b/main/os/drivers/chardev/ns16550a/struct.ReadWithoutDLAB.html
@@ -1,5 +1,4 @@
-ReadWithoutDLAB in os::drivers::chardev::ns16550a - Rust
-