Struct stm32f103xx_hal::dma::CircBuffer
[−]
[src]
pub struct CircBuffer<BUFFER, CHANNEL> where
BUFFER: 'static, { /* fields omitted */ }
Methods
impl<B> CircBuffer<B, C1>
[src]
pub fn peek<R, F>(&mut self, f: F) -> Result<R, Error> where
F: FnOnce(&B, Half) -> R,
[src]
F: FnOnce(&B, Half) -> R,
Peeks into the readable half of the buffer
pub fn readable_half(&mut self) -> Result<Half, Error>
[src]
Returns the Half
of the buffer that can be read
impl<B> CircBuffer<B, C2>
[src]
pub fn peek<R, F>(&mut self, f: F) -> Result<R, Error> where
F: FnOnce(&B, Half) -> R,
[src]
F: FnOnce(&B, Half) -> R,
Peeks into the readable half of the buffer
pub fn readable_half(&mut self) -> Result<Half, Error>
[src]
Returns the Half
of the buffer that can be read
impl<B> CircBuffer<B, C3>
[src]
pub fn peek<R, F>(&mut self, f: F) -> Result<R, Error> where
F: FnOnce(&B, Half) -> R,
[src]
F: FnOnce(&B, Half) -> R,
Peeks into the readable half of the buffer
pub fn readable_half(&mut self) -> Result<Half, Error>
[src]
Returns the Half
of the buffer that can be read
impl<B> CircBuffer<B, C4>
[src]
pub fn peek<R, F>(&mut self, f: F) -> Result<R, Error> where
F: FnOnce(&B, Half) -> R,
[src]
F: FnOnce(&B, Half) -> R,
Peeks into the readable half of the buffer
pub fn readable_half(&mut self) -> Result<Half, Error>
[src]
Returns the Half
of the buffer that can be read
impl<B> CircBuffer<B, C5>
[src]
pub fn peek<R, F>(&mut self, f: F) -> Result<R, Error> where
F: FnOnce(&B, Half) -> R,
[src]
F: FnOnce(&B, Half) -> R,
Peeks into the readable half of the buffer
pub fn readable_half(&mut self) -> Result<Half, Error>
[src]
Returns the Half
of the buffer that can be read
impl<B> CircBuffer<B, C6>
[src]
pub fn peek<R, F>(&mut self, f: F) -> Result<R, Error> where
F: FnOnce(&B, Half) -> R,
[src]
F: FnOnce(&B, Half) -> R,
Peeks into the readable half of the buffer
pub fn readable_half(&mut self) -> Result<Half, Error>
[src]
Returns the Half
of the buffer that can be read
impl<B> CircBuffer<B, C7>
[src]
pub fn peek<R, F>(&mut self, f: F) -> Result<R, Error> where
F: FnOnce(&B, Half) -> R,
[src]
F: FnOnce(&B, Half) -> R,
Peeks into the readable half of the buffer
pub fn readable_half(&mut self) -> Result<Half, Error>
[src]
Returns the Half
of the buffer that can be read
impl<B> CircBuffer<B, C1>
[src]
pub fn peek<R, F>(&mut self, f: F) -> Result<R, Error> where
F: FnOnce(&B, Half) -> R,
[src]
F: FnOnce(&B, Half) -> R,
Peeks into the readable half of the buffer
pub fn readable_half(&mut self) -> Result<Half, Error>
[src]
Returns the Half
of the buffer that can be read
impl<B> CircBuffer<B, C2>
[src]
pub fn peek<R, F>(&mut self, f: F) -> Result<R, Error> where
F: FnOnce(&B, Half) -> R,
[src]
F: FnOnce(&B, Half) -> R,
Peeks into the readable half of the buffer
pub fn readable_half(&mut self) -> Result<Half, Error>
[src]
Returns the Half
of the buffer that can be read
impl<B> CircBuffer<B, C3>
[src]
pub fn peek<R, F>(&mut self, f: F) -> Result<R, Error> where
F: FnOnce(&B, Half) -> R,
[src]
F: FnOnce(&B, Half) -> R,
Peeks into the readable half of the buffer
pub fn readable_half(&mut self) -> Result<Half, Error>
[src]
Returns the Half
of the buffer that can be read
impl<B> CircBuffer<B, C4>
[src]
pub fn peek<R, F>(&mut self, f: F) -> Result<R, Error> where
F: FnOnce(&B, Half) -> R,
[src]
F: FnOnce(&B, Half) -> R,
Peeks into the readable half of the buffer
pub fn readable_half(&mut self) -> Result<Half, Error>
[src]
Returns the Half
of the buffer that can be read