From ec147dce2122408d2798e49889bfc507d54dd7e7 Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Wed, 6 Feb 2019 13:49:34 -0500 Subject: [PATCH] Add basic oop example --- .idea/misc.xml | 2 ++ .idea/rust.iml | 10 ++++++ .idea/workspace.xml | 88 ++++++++++++++++++++++++--------------------- oop/Cargo.toml | 7 ++++ oop/src/lib.rs | 45 +++++++++++++++++++++++ 5 files changed, 112 insertions(+), 40 deletions(-) create mode 100644 oop/Cargo.toml create mode 100644 oop/src/lib.rs diff --git a/.idea/misc.xml b/.idea/misc.xml index 76830ba..a6db409 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -30,6 +30,8 @@ + + diff --git a/.idea/rust.iml b/.idea/rust.iml index 0650e07..657a62e 100644 --- a/.idea/rust.iml +++ b/.idea/rust.iml @@ -122,6 +122,14 @@ + + + + + + + + @@ -141,6 +149,7 @@ + @@ -150,6 +159,7 @@ + diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 1826468..5b7d892 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -15,10 +15,14 @@ - + - - + + + + + + @@ -36,10 +40,12 @@ ftoc expensive_closure(intensity) + ordinals f_to_c expensive_result.value(intensity) + ORDINALS @@ -48,7 +54,6 @@ @@ -127,17 +135,6 @@ - - - - - - - - - - -