Trait Ghost PadExt
Source pub trait GhostPadExt: IsA<GhostPad> + 'static {
// Provided methods
fn target(&self) -> Option<Pad> { ... }
fn set_target(
&self,
newtarget: Option<&impl IsA<Pad>>,
) -> Result<(), BoolError> { ... }
}Provided Methods§
Sourcefn set_target(&self, newtarget: Option<&impl IsA<Pad>>) -> Result<(), BoolError>
fn set_target(&self, newtarget: Option<&impl IsA<Pad>>) -> Result<(), BoolError>
Set the new target of the ghostpad self. Any existing target
is unlinked and links to the new target are established. if newtarget is
None the target will be cleared.
§newtarget
the new pad target
§Returns
true if the new target could be set. This function
can return false when the internal pads could not be linked.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.