Fix broken intra-doc links
This commit is contained in:
parent
c2baf18cbf
commit
280d3736d5
3 changed files with 5 additions and 5 deletions
|
|
@ -10,10 +10,10 @@ use std::sync::Arc;
|
|||
#[derive(Clone, Debug)]
|
||||
/// A custom primitive which can be used to render primitives associated with a custom pipeline.
|
||||
pub struct Pipeline {
|
||||
/// The bounds of the [`Shader`].
|
||||
/// The bounds of the [`Pipeline`].
|
||||
pub bounds: Rectangle,
|
||||
|
||||
/// The [`custom::Primitive`] to render.
|
||||
/// The [`Primitive`] to render.
|
||||
pub primitive: Arc<dyn Primitive>,
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ pub use crate::core::event::Status;
|
|||
|
||||
/// A [`Shader`] event.
|
||||
///
|
||||
/// [`Shader`]: crate::widget::shader::Shader;
|
||||
/// [`Shader`]: crate::Shader
|
||||
#[derive(Debug, Clone, Copy, PartialEq)]
|
||||
pub enum Event {
|
||||
/// A mouse event.
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ use crate::shader;
|
|||
/// A [`Program`] can mutate the internal state of a [`Shader`] widget
|
||||
/// and produce messages for an application.
|
||||
///
|
||||
/// [`Shader`]: crate::widget::shader::Shader
|
||||
/// [`Shader`]: crate::Shader
|
||||
pub trait Program<Message> {
|
||||
/// The internal state of the [`Program`].
|
||||
type State: Default + 'static;
|
||||
|
|
@ -50,7 +50,7 @@ pub trait Program<Message> {
|
|||
/// The interaction returned will be in effect even if the cursor position is out of
|
||||
/// bounds of the [`Shader`]'s program.
|
||||
///
|
||||
/// [`Shader`]: crate::widget::shader::Shader
|
||||
/// [`Shader`]: crate::Shader
|
||||
fn mouse_interaction(
|
||||
&self,
|
||||
_state: &Self::State,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue