pub struct ClusterBooks {
save_graph: Option<PathBuf>,
}
Expand description
Run the book clustering algorithm.
Fields§
§save_graph: Option<PathBuf>
Implementations§
Source§impl ClusterBooks
impl ClusterBooks
fn maybe_save_graph<'scope, 'env>( &'env self, scope: &'scope Scope<'scope, 'env>, graph: &'env Graph<BookID, (), Undirected>, ) -> Option<ScopedJoinHandle<'scope, Result<()>>>
Trait Implementations§
Source§impl Args for ClusterBooks
impl Args for ClusterBooks
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command
so it can instantiate self
via
FromArgMatches::update_from_arg_matches_mut
Read moreSource§impl Debug for ClusterBooks
impl Debug for ClusterBooks
Source§impl From<ClusterBooks> for RootCommand
impl From<ClusterBooks> for RootCommand
Source§fn from(v: ClusterBooks) -> RootCommand
fn from(v: ClusterBooks) -> RootCommand
Converts to this type from the input type.
Source§impl FromArgMatches for ClusterBooks
impl FromArgMatches for ClusterBooks
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.Source§impl TryInto<ClusterBooks> for RootCommand
impl TryInto<ClusterBooks> for RootCommand
Auto Trait Implementations§
impl Freeze for ClusterBooks
impl RefUnwindSafe for ClusterBooks
impl Send for ClusterBooks
impl Sync for ClusterBooks
impl Unpin for ClusterBooks
impl UnwindSafe for ClusterBooks
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more