Struct flo::standard_tools::Adjust
[−]
[src]
pub struct Adjust {}
The Adjust tool (adjusts control points of existing objects)
Methods
impl Adjust
[src]
Trait Implementations
impl<Anim: Animation> Tool<Anim> for Adjust
[src]
type ToolData = ()
Represents data for the tool at a point in time (typically a snapshot of the model) Read more
type Model = ()
The type of the model used by the UI elements of this tool Read more
fn tool_name(&self) -> String
[src]
Retrieves the name of this tool Read more
fn image_name(&self) -> String
[src]
Retrieves the name of the image that is associated with this tool Read more
fn create_model(&self, _flo_model: Arc<FloModel<Anim>>)
[src]
Creates a new instance of the UI model for this tool Read more
[src]
Creates the menu controller for this tool (or None if this tool has no menu controller) Read more
ⓘImportant traits for Box<W>fn actions_for_input<'a>(
&'a self,
_data: Option<Arc<()>>,
_input: Box<Iterator<Item = ToolInput<()>> + 'a>
) -> Box<Iterator<Item = ToolAction<()>> + 'a>
[src]
ⓘImportant traits for Box<W>
&'a self,
_data: Option<Arc<()>>,
_input: Box<Iterator<Item = ToolInput<()>> + 'a>
) -> Box<Iterator<Item = ToolAction<()>> + 'a>
Converts a set of tool inputs into the corresponding actions that should be performed Read more
ⓘImportant traits for Box<W>fn actions_for_model(
&self,
_flo_model: Arc<FloModel<Anim>>,
_tool_model: &Self::Model
) -> Box<Stream<Item = ToolAction<Self::ToolData>, Error = ()> + Send>
[src]
ⓘImportant traits for Box<W>
&self,
_flo_model: Arc<FloModel<Anim>>,
_tool_model: &Self::Model
) -> Box<Stream<Item = ToolAction<Self::ToolData>, Error = ()> + Send>
Returns a stream of tool actions that result from changes to the model Read more