1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
//! Prototocol ITransientCollection

use clojure::rust::*;

use crate::*;
// use clojure::lang::*;

pub trait ITransientCollection: IObject {
    /// ITransientCollection -> ITransientCollection
    fn conj(
        &self,
        val: &Object,
    ) -> ObjResult<Object>;

    /// ITransientCollection -> IPersistentCollection
    fn persistant(&self) -> ObjResult<Object>;
}