reql/cmd/
set_intersection.rs1use crate::{cmd, Command};
2use ql2::term::TermType;
3
4pub trait Arg {
5 fn arg(self) -> cmd::Arg<()>;
6}
7
8impl Arg for Command {
9 fn arg(self) -> cmd::Arg<()> {
10 Self::new(TermType::SetIntersection)
11 .with_arg(self)
12 .into_arg()
13 }
14}