object CsvSink extends Serializable
Provides default instances as well as instance summoning and creation methods.
- Source
- CsvSink.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CsvSink
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- macro def apply[A](implicit ev: CsvSink[A]): CsvSink[A]
Summons an implicit instance of
CsvSink[A]
if one can be found.Summons an implicit instance of
CsvSink[A]
if one can be found.This is simply a convenience method. The two following calls are equivalent:
val file: CsvSink[File] = CsvSink[File] val file2: CsvSink[File] = implicitly[CsvSink[File]]
- def from[A](f: (A) => Writer): CsvSink[A]
Turns the specified function into a CsvSink.
Turns the specified function into a CsvSink.
Note that it's usually better to compose an existing instance through CsvSink.contramap rather than create one from scratch.
- implicit def fromResource[A](implicit arg0: WriterResource[A]): CsvSink[A]
- Annotations
- @SuppressWarnings()